Vai al contenuto principale
POST
Create Product Discount

Autorizzazioni

Authorization
string
header
obbligatorio

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parametri del percorso

product_id
string<uuid>
obbligatorio

Corpo

application/json
price
obbligatorio
customer_group_id
string<uuid> | null
quantity
integer
predefinito:1
priority
integer
predefinito:1
date_start
string<date> | null
date_end
string<date> | null

Risposta

Successful Response

data
ProductDiscountOut · object | null
meta
PaginationMeta · object | null
error
string | null
error_code
string | null