Skip to main content

Create a storefront cart

Create a storefront cart.

Authorizations:Token, JWT
Request Body Schema:
The new Storefront Cart resource

Responses

201Storefront Cart resource created
Response schema:
Storefront Cart resource created
emailstring
itemsArray of objects
Array
productIdinteger
skustring
namestring
cleanUrlstring
amountnumber
inStockinteger
pricenumber
clear_pricenumber
net_pricenumber
display_pricenumber
attributesArray of objects
Array
namestring
attributeIdinteger
attributeValueIdinteger
attributeValuestring
surchargesArray of objects
Array
typestring
namestring
valuenumber
subtotalnumber
totalnumber
imagesArray of objects
Array
urlstring
widthinteger
heightinteger
altstring
marketPricenumber
idinteger>= 0
subTotalnumber
totalnumber
paymentobject or null
  • object
serviceNamestring
namestring
titlestring
descriptionstring
instructionstring
idinteger or null>= 0
paymentTransactionstring or null
shippingobject or null
  • object
idinteger
namestring
surchargesArray of objects
Array
typestring
namestring
valuenumber
couponsArray of objects
Array
codestring
typestringEnum: "$""%""S"
valuenumber
idinteger>= 0
idstring or null
400Invalid input
401Unauthorized
Response schema:
Unauthorized
typestring
titlestring
detailstring or null
instancestring or null
422Unprocessable entity
500Internal error
Response schema:
Internal error
typestring
titlestring
detailstring or null
instancestring or null