BigCommerce · Schema

Custom item

E-CommerceRetailCatalogOrdersCheckoutPaymentsSaaS
View JSON Schema on GitHub

JSON Schema

bigcommerce-cart-postcustomitem-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/cart_PostCustomItem",
  "title": "Custom item",
  "type": "array",
  "x-internal": false,
  "items": {
    "type": "object",
    "properties": {
      "sku": {
        "type": "string"
      },
      "name": {
        "type": "string",
        "minLength": 1,
        "maxLength": 250
      },
      "quantity": {
        "type": "number"
      },
      "list_price": {
        "type": "number"
      }
    }
  },
  "x-examples": {
    "example-1": [
      {
        "sku": "string",
        "name": "string",
        "quantity": 0,
        "list_price": 0
      }
    ]
  }
}