commercetools · Schema

InventoryImportRequest

A batch of inventory entry resources to import.

CommerceComposable CommerceE-CommerceGraphQLRESTSDK

Properties

Name Type Description
type string The resource type identifier.
resources array Up to 20 inventory entry resources.
View JSON Schema on GitHub

JSON Schema

commercetools-inventoryimportrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/InventoryImportRequest",
  "title": "InventoryImportRequest",
  "type": "object",
  "description": "A batch of inventory entry resources to import.",
  "required": [
    "type",
    "resources"
  ],
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "inventory"
      ],
      "description": "The resource type identifier."
    },
    "resources": {
      "type": "array",
      "maxItems": 20,
      "items": {
        "$ref": "#/components/schemas/InventoryImport"
      },
      "description": "Up to 20 inventory entry resources."
    }
  }
}