curl --request POST \
--url https://stagingstores.xoxoday.com/chef/v1/oauth/api/placeOrder \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "plumProAPI.mutation.placeOrder",
"tag": "plumProAPI",
"variables": {
"data": {
"productId": 15365,
"quantity": 1,
"denomination": 20,
"email": "your.email@example.com",
"contact": "+1-4705000000",
"tag": "Rewarding",
"poNumber": "PO12662",
"notifyReceiverEmail": 1,
"notifyAdminEmail": 0,
"loungeData": {
"firstName": "Kevin",
"lastName": "Hank",
"categoryType": "lounge",
"flightDepartureDate": "23-01-2026"
}
}
}
}
'{
"data": {
"placeOrder": {
"status": 1,
"data": {
"orderId": 98765432,
"orderTotal": 20,
"currencyCode": "USD",
"amountCharged": 20,
"orderStatus": "complete",
"deliveryStatus": "pending",
"quantity": 1,
"voucherDetails": [
{
"orderId": 98765432,
"productId": 15365,
"productName": "JFK Airport Lounge",
"currencyCode": "USD",
"productStatus": "pending",
"denomination": 20,
"vendorLogo": "https://cdn.xoxoday.com/dragonpass.png"
}
],
"orderMeta": {
"email": "your.email@example.com"
}
}
}
}
}Place a lounge order. A unique poNumber must be sent per order. loungeData is required for DragonPass/partner fulfillment. Max quantity is 1 per order.
Real URL: POST https://accounts.xoxoday.com/chef/v1/oauth/api
curl --request POST \
--url https://stagingstores.xoxoday.com/chef/v1/oauth/api/placeOrder \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "plumProAPI.mutation.placeOrder",
"tag": "plumProAPI",
"variables": {
"data": {
"productId": 15365,
"quantity": 1,
"denomination": 20,
"email": "your.email@example.com",
"contact": "+1-4705000000",
"tag": "Rewarding",
"poNumber": "PO12662",
"notifyReceiverEmail": 1,
"notifyAdminEmail": 0,
"loungeData": {
"firstName": "Kevin",
"lastName": "Hank",
"categoryType": "lounge",
"flightDepartureDate": "23-01-2026"
}
}
}
}
'{
"data": {
"placeOrder": {
"status": 1,
"data": {
"orderId": 98765432,
"orderTotal": 20,
"currencyCode": "USD",
"amountCharged": 20,
"orderStatus": "complete",
"deliveryStatus": "pending",
"quantity": 1,
"voucherDetails": [
{
"orderId": 98765432,
"productId": 15365,
"productName": "JFK Airport Lounge",
"currencyCode": "USD",
"productStatus": "pending",
"denomination": 20,
"vendorLogo": "https://cdn.xoxoday.com/dragonpass.png"
}
],
"orderMeta": {
"email": "your.email@example.com"
}
}
}
}
}Documentation Index
Fetch the complete documentation index at: https://help-plum.xoxoday.com/llms.txt
Use this file to discover all available pages before exploring further.
A unique reference ID needs to be sent for every unique order in the “poNumber” parameter We strongly recommend storing the request and response of every “PlaceOrderAPI” call
| Path | Type | Description |
|---|---|---|
| productId | number | Lounge product ID to be ordered. |
| quantity | number | Number of lounge passes to purchase. |
| denomination | number | Price/denomination of the lounge product. |
| string | Customer’s email for order delivery/confirmation. | |
| contact | string | Customer’s contact number. |
| tag | string | Optional tag for internal tracking. |
| poNumber | string | Client-generated PO number for idempotency. |
| notifyReceiverEmail | number | Whether receiver should get email notification (1 = yes, 0 = no). |
| notifyAdminEmail | number | Whether admin should receive notification (0 = no, 1 = yes). |
| loungeData | object | Lounge-specific metadata required for DragonPass/partner fulfillment. |
| loungeData.firstName | string | First name of the traveler. |
| loungeData.lastName | string | Last name of the traveler. |
| loungeData.categoryType | string | Type of the product (lounge). |
| loungeData.flightDepartureDate | string | Traveler’s flight departure date (DD-MM-YYYY). |
| Path | Type | Description |
|---|---|---|
| data | object | Root response object. |
| data.placeOrder | object | Container for place order result. |
| data.placeOrder.status | number | Status of request (1 = success). |
| data.placeOrder.data | object | Order details object. |
| data.placeOrder.data.orderId | number | Unique order ID generated by Xoxoday. |
| data.placeOrder.data.orderTotal | number | Total order amount (rounded). |
| data.placeOrder.data.rawOrderTotal | number | Precise unrounded order amount before rounding. |
| data.placeOrder.data.orderDiscount | string | Discount applied (string because blank possible). |
| data.placeOrder.data.rawOrderDiscount | string | Unrounded discount component (may be blank). |
| data.placeOrder.data.discountPercent | string | Discount percentage applied. |
| data.placeOrder.data.currencyCode | string | Currency code for the order. |
| data.placeOrder.data.currencyValue | number | Currency conversion multiplier |
| data.placeOrder.data.amountCharged | number | Final amount charged to the customer. |
| data.placeOrder.data.orderStatus | string | Order status (e.g., complete). |
| data.placeOrder.data.deliveryStatus | string | Delivery status (e.g., pending, delivered). |
| data.placeOrder.data.tag | string | Custom tag from request. |
| data.placeOrder.data.quantity | number | Quantity ordered. |
| data.placeOrder.data.vouchers | array | Delivered voucher codes |
| data.placeOrder.data.voucherDetails | array | Summary of voucher/lounge items. |
| data.placeOrder.data.voucherDetails[].orderId | number | Order ID. |
| data.placeOrder.data.voucherDetails[].productId | number | Lounge product ID. |
| data.placeOrder.data.voucherDetails[].productName | string | Name of the lounge. |
| data.placeOrder.data.voucherDetails[].currencyCode | string | Currency code of the lounge product. |
| data.placeOrder.data.voucherDetails[].productStatus | string | Status for that product (pending, Delivered.). |
| data.placeOrder.data.voucherDetails[].denomination | number | Lounge price/denomination. |
| data.placeOrder.data.voucherDetails[].vendorLogo | string | Vendor’s logo URL (DragonPass logo, etc.). |
| data.placeOrder.data.orderMeta | object | Additional metadata submitted in the order. |
| data.placeOrder.data.orderMeta.email | string | Email address submitted for the lounge order. |
Learn how to manage webhooks to receive order status updates for delayed product types.
Authorization: Bearer <access_token>
Lounge order placed successfully.
Show child attributes