magento · Schema

InventorySource

An inventory source representing a fulfillment location in multi-source inventory.

Properties

Name Type Description
source_code string Unique string code identifier for the inventory source.
name string Human-readable name of the inventory source.
enabled boolean Whether this source is active and available for inventory assignment.
description string Optional description of the inventory source.
latitude number Geographic latitude of the source location.
longitude number Geographic longitude of the source location.
country_id string ISO 3166-1 alpha-2 country code of the source address.
region string State or region name of the source address.
city string City of the source address.
street string Street address of the source location.
postcode string Postal code of the source address.
View JSON Schema on GitHub

JSON Schema

magento-inventorysource-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/InventorySource",
  "title": "InventorySource",
  "type": "object",
  "description": "An inventory source representing a fulfillment location in multi-source inventory.",
  "properties": {
    "source_code": {
      "type": "string",
      "description": "Unique string code identifier for the inventory source."
    },
    "name": {
      "type": "string",
      "description": "Human-readable name of the inventory source."
    },
    "enabled": {
      "type": "boolean",
      "description": "Whether this source is active and available for inventory assignment."
    },
    "description": {
      "type": "string",
      "description": "Optional description of the inventory source."
    },
    "latitude": {
      "type": "number",
      "description": "Geographic latitude of the source location."
    },
    "longitude": {
      "type": "number",
      "description": "Geographic longitude of the source location."
    },
    "country_id": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code of the source address."
    },
    "region": {
      "type": "string",
      "description": "State or region name of the source address."
    },
    "city": {
      "type": "string",
      "description": "City of the source address."
    },
    "street": {
      "type": "string",
      "description": "Street address of the source location."
    },
    "postcode": {
      "type": "string",
      "description": "Postal code of the source address."
    }
  }
}