Skip to content
Elara One docs
Cart

List shipping options

GET
/v1/cart/shipping-options

Authorization

tenantKey
headerX-Tenant-Key<token>

The public store key (pk_live_…). Required on every call.

Header Parameters

X-Cart-Token*string

The cart token from POST /api/v1/cart.

X-Client-IP?string

Optional. IP address of the shopper (one IPv4/IPv6, no port, no list). Honoured only together with a valid X-Tenant-Secret; ignored otherwise. Used for rate limits and recorded with form submissions.

X-Tenant-Secret?string

Optional here. Server secret of the store: server-to-server only, never from a browser. Enables X-Client-IP.

Response Body

A list.

application/json
  1. response
data*array<>
meta*
Example Request
curl -X GET 'https://api.elaraone.app/api/v1/cart/shipping-options' \  -H 'X-Tenant-Key: pk_live_…' \  -H 'X-Tenant-Secret: your-server-secret' \  -H 'X-Cart-Token: 01JB9K3N7Q2W5X8Z4C6V1T0R3M'
Example Response
{  "data": [    {      "identifier": "string",      "name": "string",      "description": "string",      "price": {        "amount": 0,        "currency": "string",        "formatted": "string"      },      "discounted_price": {        "amount": 0,        "currency": "string",        "formatted": "string"      },      "collect": true,      "kind": "string",      "collection_location": {        "id": 0,        "name": "string",        "line_one": "string",        "line_two": "string",        "city": "string",        "state": "string",        "postcode": "string",        "country": "string",        "instructions": "string",        "opening_hours": {          "property1": "string",          "property2": "string"        }      }    }  ],  "meta": {    "selected": "string",    "unavailable": [      "string"    ],    "address_required_for_delivery": "string"  }}