Follow the question structure recommended by Dev Bot before submitting your integration questions.
idMember or prospect idProspect. This cart may contain items such as membership plans idMembership and services idService, previously added. This endpoint is used to display the current state of a user's cart before completing the purchase.NOTE. Available for use with branch access key and also with General ADM access key.
idMember or idProspect be provided. If both are omitted, the cart will not be located.| Parameter | Type | Required | Description |
|---|---|---|---|
| idMember | int32 | Situational | ID of the member. Use this field when the cart is linked to a registered member. |
| idProspect | int32 | Situational | ID of the prospect. Use this field if the cart belongs to a visitor or potential customer not yet converted to a member. |
| 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 selected for purchase. |
| idService | int32 | ID of the service selected for purchase. |
username:passwordAuthorization: Basic *****************curl --location 'https://evo-integracao-api.w12app.com.br/api/v1/carts?idMember=undefined&idProspect=undefined' \
--header 'Authorization: Basic <encoded-value>'{
"idCartToken": "string",
"cartCheckoutLink": "string"
}