Appearance
Payload branch "carrier"
This branch contains general informations about the "carrier" or "courier" choosed by the User or automatically selected by the business logic;
Let's review an example:
js
{
"context": "...",
"event": "...",
"checkout_step": "...",
"attributes": {...},
"products": [...],
"carrier": {
"id": 4,
"name": "Ritiro presso Store Bluespirit",
"virtual": false,
"shops_required": false,
"skip_shipping": false
},
"payment": {...},
"delivery": {...},
"billing": {...},
"user": {...},
"engagements": {...}
}
Variables full details
Here you can find a detailed description of each variable or sub-branch:
Var | Type | Description |
---|---|---|
id | int | Unique carrier id (cross-tenant) |
name | string | Carrier name (translated) |
virtual | boolean | Carrier is present but do not required |
shops_required | boolean | Shipment must be fulfilled with a pickup store |
skip_shipping | boolean | Carrier does not require a physical shipment |