Baskets are an order which hasn't been finalized. A User must make a basket and add Projects into it (by creating Basket Lines) in order to place a print order. The baskets are only visible to the users who created them, and can only contain projects that the user created (this is enforced by the Session). Once the user is satisfied with the basket, a Checkout URL can be requested.
Requires:
- API Key
- Session IdInternal or External User Token
Actions
URL | Verb | Information |
---|---|---|
/basket | POST | Creates a new basket |
/baskets | GET | Returns a list of all existing baskets for the currently logged in user |
/basket/{Guid} | GET | Returns the details of a basket identified by Guid |
/basket/{Guid} | DELETE | Deletes the basket identified by Guid |
...
Field | Data Type | Required | Information |
---|---|---|---|
Guid | Guid | Y | Used to uniquely identify a basket |
CreatedDateUtc | DateTime | Y | The date time the basket was created, in UTC |
LastSavedDateUtc | DateTime | Y | The date time the basket was last saved, in UTC |
Lines | Array Of BasketLines Basket Lines | N | Items in the basket. |
OrderTotal | Decimal | Y | Total amount payable for the order. |