API DocumentationCart resource

Get a cart by ID

Retrieves a specific shopping cart by its ID. Companion to the paginated cart endpoint for drilling into individual records during analytics workflows.

GET
/api/manufacturer/v1/cart/{cartId}
AuthorizationBearer <token>

In: header

Path Parameters

cartIdinteger

ID of the cart to retrieve

Formatint64

Response Body

curl -X GET "http://m-api-dev.phas.io/api/manufacturer/v1/cart/1"
{
  "cartId": 0,
  "status": "OPEN",
  "customerOrganisationId": 0,
  "customerOrganisationName": "string",
  "customerId": 0,
  "customerEmail": "string",
  "customerPhone": "string",
  "cartNumber": 0,
  "itemCount": 0,
  "items": [
    {
      "id": 0,
      "partRevisionId": "d6aa80a1-8f9a-4090-941a-f51f551521b8",
      "partName": "string",
      "quantity": 0,
      "colorId": 0,
      "precisionPricesId": 0,
      "infillId": 0,
      "processPricesId": "efb221a2-6f82-4cf4-8be0-20aae2aa874c",
      "materialPricesId": 0,
      "leadTimeId": "d4f8e2ce-2958-4e33-9da6-3f42e4f728f1",
      "units": "CENTIMETERS",
      "postProcessingIds": [
        0
      ],
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ],
  "createdAt": "2019-08-24T14:15:22Z",
  "updateDt": "2019-08-24T14:15:22Z",
  "itemProcessIds": [
    "497f6eca-6276-4993-bfeb-53cbbbba6f08"
  ],
  "itemMaterialIds": [
    0
  ],
  "itemLeadTimeIds": [
    "497f6eca-6276-4993-bfeb-53cbbbba6f08"
  ],
  "itemPostProcessingIds": [
    0
  ],
  "itemUnits": [
    "CENTIMETERS"
  ]
}
Empty