Mailrelay API Reference

Add a new cart

POST /ecommerce/stores/{store_id}/carts

Add a new cart

Parameters

NameTypeDescription
store_id integer ID of the store
cart_id string Cart
email string Email
status string Status
checkout_url string Checkout url
total integer Total
tax_total integer Tax total
cart_items_attributes array Cart item

Responses

StatusDescription
201 Success
400 The request is invalid. Check if the field names in the request and the request data is valid.
422 A validation error occurred. Check the response body for more information.
401 The API key wasn't sent or is invalid
500 An internal error happened. Try again later.