Send Your First Reward

Here’s how to place your first reward order.

Let’s send ourselves a test USD 50 reward

Run the cURL command below, replacing both and with your own details:

curl --location 'https://canvas.xoxoday.com/chef/v1/oauth/api' \
--header 'Authorization: Bearer <your-access-token>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "query": "plumProAPI.mutation.placeOrder",
  "tag": "plumProAPI",
  "variables": { 
    "data": {
      "productId": "55395",
      "quantity": "1",
      "denomination": "50",
      "poNumber": "",
      "email": "[email protected]",
      "contact": " ",
      "tag": "",
      "notifyReceiverEmail": 1
    }
  }
}'

Response

If your request is successful, you’ll receive a JSON response like the one below with your voucher details.Check your inbox — your demo reward has just landed:

{
    "data": {
        "placeOrder": {
            "status": 1,
            "data": {
                "orderId": 6552967,
                "orderTotal": 8.79,
                "rawOrderTotal": 8.7917,
                "orderDiscount": "",
                "rawOrderDiscount": "",
                "discountPercent": "0",
                "currencyCode": "INR",
                "currencyValue": 1,
                "amountCharged": 8.79,
                "orderStatus": "complete",
                "deliveryStatus": "delivered",
                "tag": "Hello",
                "quantity": 1,
                "vouchers": [
                    {
                        "productId": 55395,
                        "orderId": 6552967,
                        "voucherCode": "https://canvas.plum.gift/3YEyDBWOeuYnyzpD",
                        "pin": "",
                        "validity": "2026-08-19",
                        "amount": 50,
                        "currency": "CRC",
                        "country": "IN,US",
                        "type": "url",
                        "currencyValue": 5.68716121
                    }
                ],
                "voucherDetails": [
                    {
                        "orderId": 6552967,
                        "productId": 55395,
                        "productName": "Amazon USA - ZENDIT",
                        "currencyCode": "USD",
                        "productStatus": "delivered",
                        "denomination": 50,
                        "vendorLogo": ""
                    }
                ],
                "orderMeta": {
                    "email": "[email protected]",
                    "contact": "+91-8168147851"
                }
            }
        }
    }
}

Check Your Inbox

You’ve just received a reward sent via the Xoxoday API. Congratulations — you’ve officially placed your first reward.