Carts are used to hold purchases from a Convention.
You must have the pos
ConventionPrivilege to access carts,
or be the User that owns the cart.
Convention Carts are accessed via /api/conventioncart
.
See "Object Properties" in Introduction for basic shared properties.
Complete details in ConventionCartProperties.
See "Related Objects" in Introduction for how to use them.
The Convention this convention cart belongs to.
The User this convention cart belongs to.
See "Relationships" in Introduction for how to use them.
The services used to fetch and manipulate convention carts.
This will search across all conventions, and return the carts created by the user who's session is used to make this request. To search on a single convention see "Relationships" in Convention.
GET /api/conventioncart
Searches a partial name.
Returns:
{ "paging" : {...}, "items" : [ { "id" : "xxx", "user_id" : "xxx", ... }, ... ] }
You don't need to explicitly create a cart. If you don't have one when you make these other requests, then one will be created for you.
GET /api/conventioncart/xxx
You can also make the request without the ID and then the system will just use the user's cart associated with the Convention id passed as a parameter.
GET /api/conventioncart/
Returns:
{ "id" : "xxx", "name" : "The Captain is Dead", ... }
PUT /api/conventioncart/xxx
You can also make the request without the ID and then the system will just use the user's cart associated with the Convention id passed as a parameter.
PUT /api/conventioncart/
Returns the same as a normal read.
DELETE /api/conventioncart/xxx
You can also make the request without the ID and then the system will just use the user's cart associated with the Convention id passed as a parameter.
DELETE /api/conventioncart/
Returns:
{ "success" : 1 }
POST /api/conventioncart/xxx/booth
You can also make the request without the ID and then the system will just use the user's cart associated with the Convention id passed as a parameter.
POST /api/conventioncart//booth
Returns the same as a normal read.
POST /api/conventioncart/xxx/boothaddon
You can also make the request without the ID and then the system will just use the user's cart associated with the Convention id passed as a parameter.
POST /api/conventioncart//boothaddon
Returns the same as a normal read.
POST /api/conventioncart/xxx/badge
You can also make the request without the ID and then the system will just use the user's cart associated with the Convention id passed as a parameter.
POST /api/conventioncart//badge
Returns the same as a normal read.
POST /api/conventioncart/xxx/soldproduct
You can also make the request without the ID and then the system will just use the user's cart associated with the Convention id passed as a parameter.
POST /api/conventioncart//soldproduct
Returns the same as a normal read.
POST /api/conventioncart/xxx/ticket
You can also make the request without the ID and then the system will just use the user's cart associated with the Convention id passed as a parameter.
POST /api/conventioncart//ticket
Returns the same as a normal read.
Add a single ticket for more than one event to a cart. For badge complimentary tickets.
POST /api/conventioncart/xxx/ticket/multiple
You can also make the request without the ID and then the system will just use the user's cart associated with the Convention ID
passed as a parameter.
POST /api/conventioncart//ticket/multiple
For cart identification if cart ID
omitted in URI.
Returns the same as a normal read.
Add multiple generic tickets to a cart.
POST /api/conventioncart/xxx/ticket/multiple-generic
You can also make the request without the ID and then the system will just use the user's cart associated with the Convention ID
passed as a parameter.
POST /api/conventioncart//ticket/multiple-generic
For cart identification if cart ID
omitted in URI.
This payment method is used with the Point of Sale system and requires a CashDrawer.
POST /api/conventioncart/xxx/pay/cash
You can also make the request without the ID and then the system will just use the user's cart associated with the Convention ID
passed as a parameter.
POST /api/conventioncart//pay/cash
Returns the same as a normal read.
This payment method is used with the when the contents of the cart total zero.
POST /api/conventioncart/xxx/pay/free
You can also make the request without the ID and then the system will just use the user's cart associated with the Convention id passed as a parameter.
POST /api/conventioncart//pay/free
Returns the same as a normal read.
This payment method is used for credit card transactions, and requires that you have updated the cart with a stripe_card_id
, which is not stored on our servers.
POST /api/conventioncart/xxx/pay/stripe
You can also make the request without the ID and then the system will just use the user's cart associated with the Convention id passed as a parameter.
POST /api/conventioncart//pay/stripe
Used to verify against the credit card's billing address.
Returns the same as a normal read.