Skip to main content

Retrieve a list of carts

Retrieve a list of carts.

Authorizations:Token, JWT
Query Parameters
pageintegerDefault: 1The collection page number
itemsPerPageinteger[0 .. true]Default: 30The number of items per page
paginationbooleanEnable or disable pagination
date[before]string
date[strictly_before]string
date[after]string
date[strictly_after]string
lastRenewDate[before]string
lastRenewDate[strictly_before]string
lastRenewDate[after]string
lastRenewDate[strictly_after]string
order[date]stringEnum: "asc""desc"
order[lastRenewDate]stringEnum: "asc""desc"
paymentStatus.codestring
paymentStatus.code[]Array of strings
shippingStatus.codestring
shippingStatus.code[]Array of strings
profile.loginstring

Responses

200Cart collection
Response schema:
Cart collection
Array
mobile_orderboolean
mailchimp_store_idstring
selected_multi_currencystring
selected_multi_currency_ratenumber
idinteger>= 0
totalnumber
sub_totalnumber
emailstring
itemsArray of objects
Array
idinteger>= 0
product_idinteger>= 0
skustring
update_datestring
namestring
pricenumber
item_net_pricenumber
discounted_subtotalnumber
amountinteger
backordered_amountinteger
surchargesArray of objects
Array
idinteger>= 0
typestring[1 .. 8] characters
codestring[1 .. 128] characters
classstring[1 .. 255] characters
includeboolean
availablebooleanDefault: true
valuenumber
namestring[1 .. 255] characters
weightinteger
billing_addressobject or null
  • object
idinteger>= 0
is_billingboolean
is_shippingboolean
is_workboolean
typestring
titlestring
firstnamestring
lastnamestring
phonestring
address1string
address2string
address3string
zipcodestring<= 32 characters
citystring
country_codestring2 characters
stateinteger or null
state_namestring
custom_fieldsArray of objects
Array
namestring
valuestring
shipping_addressobject or null
  • object
idinteger>= 0
is_billingboolean
is_shippingboolean
is_workboolean
typestring
titlestring
firstnamestring
lastnamestring
phonestring
address1string
address2string
address3string
zipcodestring<= 32 characters
citystring
country_codestring2 characters
stateinteger or null
state_namestring
custom_fieldsArray of objects
Array
namestring
valuestring
create_datestring
update_datestring
payment_statusobject or null
  • object
idinteger>= 0
codestring[0 .. 4] characters
namestring[1 .. 255] characters
customer_namestring[1 .. 255] characters
shipping_statusobject or null
  • object
idinteger>= 0
codestring[0 .. 4] characters
namestring[1 .. 255] characters
customer_namestring[1 .. 255] characters
customer_idinteger>= 0
order_profile_idinteger>= 0
shipping_idinteger>= 0
shipping_method_namestring
notesstring
admin_notesstring
currencystring
stock_statusstring
surchargesArray of objects
Array
idinteger>= 0
typestring[1 .. 8] characters
codestring[1 .. 128] characters
classstring[1 .. 255] characters
includeboolean
availablebooleanDefault: true
valuenumber
namestring[1 .. 255] characters
weightinteger
tracking_numbersArray of objects
Array
idinteger>= 0
datestring
valuestring
401Unauthorized
Response schema:
Unauthorized
typestring
titlestring
detailstring or null
instancestring or null
500Internal error
Response schema:
Internal error
typestring
titlestring
detailstring or null
instancestring or null