Cart
Retrieve Cart Status by ID
Cart
Retrieve Cart Status by ID
Retrieve the status of a cart by cart ID
POST
/
cart
/
cartStatus
/
{cart_id}
curl --request POST \
--url https://client-request-service-staging-wghsjlqnoa-uw.a.run.app/cart/cartStatus/{cart_id}
{
"status": "<string>",
"orders": [
{
"id": "<string>",
"cart_id": "<string>",
"status": "<string>",
"events": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
],
"required_actions": [
{
"action": "<string>",
"description": "<string>"
}
]
}
],
"cart": {
"id": "<string>",
"stores": [
{
"store": "<string>",
"request_id": "<string>",
"cart_lines": {
"quantity": 123,
"variant": {
"id": "<string>",
"title": "<string>",
"marketplace": "<string>",
"description": "<string>",
"is_available": true,
"price": {
"value": 123,
"display_value": "<string>",
"currency": "<string>"
}
},
"product": {
"id": "<string>",
"title": "<string>",
"marketplace": "<string>",
"description": "<string>",
"is_available": true,
"price": {
"value": 123,
"display_value": "<string>",
"currency": "<string>"
}
}
},
"offer": {
"subtotal": {
"value": 123,
"display_value": "<string>",
"currency": "<string>"
},
"margin": {
"value": 123,
"display_value": "<string>",
"currency": "<string>"
},
"not_available_ids": [
"<string>"
],
"shipping_methods": [
{
"id": "<string>",
"label": "<string>",
"price": {
"value": 123,
"display_value": "<string>",
"currency": "<string>"
},
"taxes": {
"value": 123,
"display_value": "<string>",
"currency": "<string>"
},
"total": {
"value": 123,
"display_value": "<string>",
"currency": "<string>"
}
}
],
"selected_shipping_method": {
"id": "<string>",
"label": "<string>",
"price": {
"value": 123,
"display_value": "<string>",
"currency": "<string>"
},
"taxes": {
"value": 123,
"display_value": "<string>",
"currency": "<string>"
},
"total": {
"value": 123,
"display_value": "<string>",
"currency": "<string>"
}
}
},
"is_submitted": true
}
],
"buyer_identity": {
"first_name": "<string>",
"last_name": "<string>",
"address_1": "<string>",
"address_2": "<string>",
"city": "<string>",
"province_code": "<string>",
"country_code": "<string>",
"postal_code": "<string>",
"email": "<string>",
"phone": "<string>"
}
}
}
Path Parameters
Response
200
application/json
Successfully retrieved cart status
curl --request POST \
--url https://client-request-service-staging-wghsjlqnoa-uw.a.run.app/cart/cartStatus/{cart_id}
{
"status": "<string>",
"orders": [
{
"id": "<string>",
"cart_id": "<string>",
"status": "<string>",
"events": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
],
"required_actions": [
{
"action": "<string>",
"description": "<string>"
}
]
}
],
"cart": {
"id": "<string>",
"stores": [
{
"store": "<string>",
"request_id": "<string>",
"cart_lines": {
"quantity": 123,
"variant": {
"id": "<string>",
"title": "<string>",
"marketplace": "<string>",
"description": "<string>",
"is_available": true,
"price": {
"value": 123,
"display_value": "<string>",
"currency": "<string>"
}
},
"product": {
"id": "<string>",
"title": "<string>",
"marketplace": "<string>",
"description": "<string>",
"is_available": true,
"price": {
"value": 123,
"display_value": "<string>",
"currency": "<string>"
}
}
},
"offer": {
"subtotal": {
"value": 123,
"display_value": "<string>",
"currency": "<string>"
},
"margin": {
"value": 123,
"display_value": "<string>",
"currency": "<string>"
},
"not_available_ids": [
"<string>"
],
"shipping_methods": [
{
"id": "<string>",
"label": "<string>",
"price": {
"value": 123,
"display_value": "<string>",
"currency": "<string>"
},
"taxes": {
"value": 123,
"display_value": "<string>",
"currency": "<string>"
},
"total": {
"value": 123,
"display_value": "<string>",
"currency": "<string>"
}
}
],
"selected_shipping_method": {
"id": "<string>",
"label": "<string>",
"price": {
"value": 123,
"display_value": "<string>",
"currency": "<string>"
},
"taxes": {
"value": 123,
"display_value": "<string>",
"currency": "<string>"
},
"total": {
"value": 123,
"display_value": "<string>",
"currency": "<string>"
}
}
},
"is_submitted": true
}
],
"buyer_identity": {
"first_name": "<string>",
"last_name": "<string>",
"address_1": "<string>",
"address_2": "<string>",
"city": "<string>",
"province_code": "<string>",
"country_code": "<string>",
"postal_code": "<string>",
"email": "<string>",
"phone": "<string>"
}
}
}