Orders

Get Order Events

Get all order events by orderId

get/v1/orders/{orderId}/events

Request

  • Base URL: https://api.roastify.app
  • URL: https://api.roastify.app/v1/orders/{orderId}/events
  • Auth: API key in header x-api-key

Path parameters

orderIdstring required

The Id of the order

Example:1ef87e47-266e-466f-ab06-a64994aefbb0

Response

Get all fulfillment order events by order Id

status'Created' | 'Picked' | 'Printed' | 'Packaged' | 'Shipped' | 'Canceled' | 'CancelationRequested' | 'Declined' required

Current order status

Example response

{
  "status": "Created",
  "events": [
    {
      "time": "2020-01-01T00:00:00Z",
      "action": "Created",
      "affected_items": [
        "65cdd8c2a037fhna9c08471f",
        "62cdd3c6a037fhna9c084fnf"
      ],
      "affected_items_details": [
        {
          "id": "65cdd8c2a037fhna9c08471f",
          "externalSourceId": "your-line-item-123",
          "sku": "COF-WHB-12O-COL-BOX",
          "quantity": 2
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.