Skip to main content
WEBHOOK
order.created
{
  "id": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "placedAt": "2023-11-07T05:31:56Z",
  "currencyCode": "<string>",
  "type": "checkout",
  "subtotal": 1,
  "totalPrice": 1,
  "deliveryPrice": 1,
  "taxesAmount": 1,
  "taxesIncluded": true,
  "customerId": "<string>",
  "externalId": "<string>",
  "items": [
    {
      "id": "<string>",
      "title": "<string>",
      "subtitle": "<string>",
      "quantity": 2,
      "unitPrice": 1,
      "totalPrice": 1,
      "product": "<string>",
      "variant": "<string>",
      "sku": "<string>",
      "subscriptionItem": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "requiresShipping": true,
      "taxable": true,
      "customAttributes": [
        {
          "key": "<string>",
          "value": "<string>"
        }
      ],
      "sellingPlanId": "<string>",
      "sellingPlanName": "<string>"
    }
  ],
  "discounts": [
    {
      "id": "<string>",
      "title": "<string>",
      "target": "line",
      "value": {
        "type": "percentage",
        "percentage": 50
      },
      "entitledItems": {
        "all": true
      },
      "subscriptionDiscount": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ],
  "subscriptionIds": [
    "<string>"
  ]
}

Authorizations

X-Juo-Admin-Api-Key
string
header
required

Body

application/json
id
string
required
Minimum string length: 1
createdAt
string<date-time>
required
placedAt
null | string<date-time>
required
currencyCode
string
required
Required string length: 3
type
required
Available options:
checkout
subtotal
null | number
required
Required range: x >= 0
totalPrice
null | number
required
Required range: x >= 0
deliveryPrice
number
required
Required range: x >= 0
taxesAmount
null | number
required
Required range: x >= 0
taxesIncluded
null | boolean
required
customerId
null | string
required
Minimum string length: 1
externalId
null | string
required
Minimum string length: 1
items
OrderItem · object[]
required
Minimum array length: 1
discounts
OrderDiscount · object[]
required
subscriptionIds
string[]
required
Minimum string length: 1

Response

200

Webhook received successfully.