Create Basket Item


Add Shopping Item To Basket
This function adds a new shopping basket item to the current cached shopping basket. If a shopping basket does not already exist then a new one is created.

The shopping basket is tied to the active session and is valid only
as the session is. Where possible basket items are "held" meaning
that that space or slot is reserved until you checkout.

Reserved items are only held for a number of minutes unless another
message is sent to keep the held item active, otherwise it is
released back to allow another customer to book it.

A shopping basket is not actually required - it is possible to
checkout in a single message via the Admin API, passing in all of the details required
to book an item, but a shopping basket can be used to cache and
handle multiple items, as well as deal with complicated issues such as
applying and validating coupons, packages and discounts.

Log in to see full request history
Path Params
int32
required
Body Params
int32

Service id

int32

Member id

int32

Event id

int32

Event chain id

int32

Product id

string
int32

Package id

int32
int32

Bulk purchase id

string

Date in ISO-8601 (YYYY-MM-DD)

string

Time (HH:mm) or minutes elapsed since midnight

integer

Person ID

integer

Resource ID

Responses

401

Occurs when no authorisation token is supplied for 'Member' type customers

403

When an affiliate not actually linked to the company tries to add to a customer's basket

404

When the member cannot be found

409

When clients add different events simultaneously;
When clients add duplicate events to the basket

Language
Credentials
URL
Click Try It! to start a request and see the response here!