Create product

Create product in the credential-bound company. Send an optional Idempotency-Key to store the terminal response for safe retries for 24 hours. Requires the products:write OAuth scope.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Fields accepted to create product. The schema identifies required and optional values.

string
enum
required
Allowed:
string
enum

Stock spec D1: the four types; kind keeps its meaning and must agree.

Allowed:
string
required
length ≤ 255
string
required
length ≤ 255
string
required
length ≤ 3
uuid | null
boolean
required
boolean
required
boolean
boolean
boolean
uuid | null
number | null
string | null
purchase_prices
array of objects
length ≤ 20
purchase_prices
sell_prices
array of objects
length ≤ 20
sell_prices
Headers
string
length ≤ 191

Optional unique key whose request hash and terminal response are stored durably for 24 hours.

Responses

Language
Credentials
OAuth2
Missing 1 required scope
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*