Documentation Summary

REST API

Enumerations

This page lists Enumerated Values used in the API calls.

Item Status

Only the Shipped, Packed and Printed status should be set by the API, to avoid conflicts with internal workflows.

ValueNameDescription
(0)ShippedThe item has been sent to its destination.
(1)UnreviewedThe item has been ordered but is pending review.
(2)PendingDataThe item is pending the arrival of data.
(3)PendingPrepThe item is pending manual actions from an administrator.
(4)ReadyThe item is ready for production.
(5)SentThe item sent for output generation, but not generated yet.
(6)RenderedThe item has been generated but not yet produced.
(7)FailedAn error has occured during output generation.
(8)PackedThe item has been packed.
(9)PrintedThe item produced and is ready to be sent.
(10)RejectedThe item has been rejected.

Currency

ValueNameDescription
(0)eUnknownAny currency other than GBP, EUR or USD.
(1)ePoundUnited Kingdom Pound Sterling (GBP)
(2)eDollarUnited States of America Dollar (USD)
(3)eEuroEuropean Union Euro (EUR)

Event

The events listed below correspond to the available callbacks.

Member nameValueDescription
OrderCreated0This event is called after an order is placed. If any approvals are required in the Order, this event will instead be triggered after all items in the Order have been approved or declined.
OrderReadyForProduction1This event is called after an Order is ready for production after approvals and payments.
OrderItemRendered2This event is called after an individual Order Item in an Order is rendered.