Skip to main content
GET
Obtener detalle de un carrito
Returns one cart by id. Use GET /v1/ecommerce/carts to find the id first.

Endpoint

Required scope

ecommerce:carts:read

Headers

Path parameters

Example request

Response

200 OK

401 Unauthorized

Missing, invalid, revoked, or expired token.

403 Forbidden

The token does not have the ecommerce:carts:read scope.

404 Not Found

No cart with that id, or it belongs to a different company.

502 Bad Gateway

The ecommerce service could not answer.

Operational notes

  • total is not necessarily the sum of the line subtotals. Delivery, service fees, and tips are added on top and are not broken out in this payload.
  • product_id is absent on items that never matched a Keebai product — common on integration carts where the platform sent a line item Keebai has not synced. product_name and sku are always there.
  • A cart is not a draft sale. There is no link between this record and anything under /v1/ecommerce/sales; match on the customer if you need to correlate them.

Authorizations

Authorization
string
header
required

Personal Access Token con prefijo kbai_pk_. Generar desde el portal con permiso developer.manage_tokens.

Path Parameters

id
string
required

Response

200 - application/json
cart
object
required