Carts
Create and update carts, calculate delivery, and complete checkout.
Fields
idstringUnique identifier of the resource.emailstringcurrencyCodestringISO 4217 currency code, for example PEN.statusenuminProgress · pending · completed · abandoned · cancelled · expired · failedtokenstringcartNumberstringphonestringfirstNamestringSee all 25 fields
lastNamestringcompletedAtstringshippingAddressobjectbillingAddressobjectpromotionCodesarray<string>itemsarray<object>shippingMethodsarray<object>totalsobjectinvoiceTypeenumticket · invoice · receiptidentificationTypestringidentificationCountryCodestringidentificationNumberstringentityNamestringpaymentMethodCodestringspecialInstructionsstringgiftMessagestringentityTaxIdstringOperations
| Method | Endpoint | Operation |
|---|---|---|
POST | / | Create cart |
GET | / | Get cart |
POST | / | Start a payment session |
POST | / | Upload cart payment receipt |
GET | / | List cart shipping options |
GET | / | Get cart order group |
PUT | / | Set cart payment method |
PATCH | / | Update cart addresses |
PATCH | / | Update cart buyer |
PATCH | / | Update the order note and gift message |
GET | / | List shipping slots |
Checkout
| Method | Endpoint | Operation |
|---|---|---|
POST | / | Checkout cart |
GET | / | Get cart checkout options |
Items
| Method | Endpoint | Operation |
|---|---|---|
POST | / | Add item to cart |
PATCH | / | Update cart item quantity |
DELETE | / | Remove item from cart |
Promotion Codes
| Method | Endpoint | Operation |
|---|---|---|
POST | / | Add promotion code |
DELETE | / | Remove promotion code |
Shipping Method
| Method | Endpoint | Operation |
|---|---|---|
PUT | / | Set cart shipping method |
DELETE | / | Clear cart shipping method |
Last updated: