discount

post/PROD/discount/all

Request

  • Base URL: https://api.myfox.cz (the document declares no server; this is the origin it was published from)
  • URL: https://api.myfox.cz/PROD/discount/all
  • Auth: none declared. Required headers: x-api-key

Headers

x-api-keystring required

User token in the request header

Request body

shopIdstring required
codestring
validFromstring
validTostring
finalizedAtFromstring
finalizedAtTostring
itemIdsstring[]
statesstring[]

Response

OK

idstring required
codestring required
amountType'Absolute' | 'Percent' required
amountnumber required
state'Available' | 'Pending' | 'Redeemed' | 'Expired' | 'Canceled' required
validFromstring required
validTostring required
finalizedAtstring nullable required
metaunknown
createdAtstring required
updatedAtstring required
isReusableboolean required
categoryIdstring nullable required
shopIdstring required

Changes

No recorded changes to this operation across all 1 revision of this API.