Follow the question structure recommended by Dev Bot before submitting your integration questions.
idCartToken, typically used in redirects or purchase flow callbacks. It can be useful in cases where the cart token has been previously generated (for example, sent via link or stored in a totem session) and it is necessary to display or retrieve the corresponding cart data.NOTE. Available for use with branch access key and also with General ADM access key.
| Parameter | Type | Required | Description |
|---|---|---|---|
| idCartToken | string | Yes | Unique token identifying the cart. |
| Field | Type | Description |
|---|---|---|
| idBranchToken | string | Identifier token of the branch where the cart was created. |
| idBranch | int32 | ID of the branch where the cart was created. |
| idMember | int32 | ID of the member linked to the cart (if applicable). |
| idProspect | int32 | ID of the prospect linked to the cart (if applicable). |
| voucher | string | Voucher code applied to the cart (if any). |
| cartCheckoutLink | string | Direct URL for the cart checkout process. |
| items | array | List of items in the cart. Each item can be a membership or service. |
items Object#| Field | Type | Description |
|---|---|---|
| idMembership | int32 | ID of the membership added to the cart (0 if none). |
| idService | int32 | ID of the service added to the cart (0 if none). |
username:passwordAuthorization: Basic *****************curl --location 'https://evo-integracao-api.w12app.com.br/api/v1/carts/' \
--header 'Authorization: Basic <encoded-value>'{
"idBranchToken": "string",
"idBranch": 0,
"idMember": 0,
"idProspect": 0,
"voucher": "string",
"cartCheckoutLink": "string",
"items": [
{
"idMembership": 0,
"idService": 0
}
]
}