Skip to content

Get a single shopping-cart by id

GET
/shopping-carts/{id}
id
required
string

DocumentId

OK

object
data
object
users_permissions_user
One of:

DocumentId reference to plugin::users-permissions.user

string
session_id
string
shopping_items
required

Arbitrary JSON value (object, array, string, number, boolean, or null)

total_amount
number
currency
string
Allowed values: EUR USD CZK PLN HUF RON BGN SEK DKK NOK
expires_at
string format: date-time
cart_items
One of:

DocumentId reference to api::cart-item.cart-item

string
documentId
string
id
integer
createdAt
string format: date-time
updatedAt
string format: date-time
publishedAt
string format: date-time
nullable

Missing or invalid authentication

Not authorized (tenant scope or capability)

Not found