OneBasket

Add a product to a basket

POST
/baskets/{id}/products/{productId}

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

The id of the basket

productId*string

The product id of the ticketed event that tickets are being purchased for.

Header Parameters

x-api-key*string

Request Body

application/json

Fields to refine the context of the product being added to the basket

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/baskets/string/products/string" \  -H "x-api-key: string" \  -H "Content-Type: application/json" \  -d '{    "quantity": 0  }'
{  "notificationId": "string"}