Skip to content

Square: Catalog schemas (part 1)

39 Square schemas with complete fields and constraints.

← Catalog operations · All schemas

Batch Delete Catalog Objects — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
object_idsarrayRequired within parentThe IDs of the CatalogObjects to be deleted. When an object is deleted, other objects
in the graph that depend on that object will be deleted as well (for example, deleting a
CatalogItem will delete its CatalogItemVariation.
object_ids[]stringEach item

Batch Delete Catalog Objects — response body

FieldTypePresenceDescription and constraints
$objectRoot
deleted_atstringOptionalThe database [timestamp](https://developer.squareup.com/docs/build-basics/working-with-dates) of this deletion in RFC 3339 format, e.g., "2016-09-04T23:59:33.123Z".
deleted_object_idsarrayOptionalThe IDs of all CatalogObjects deleted by this request.
deleted_object_ids[]stringEach item
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Get Shift — response body — errors item

Batch Retrieve Catalog Objects — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
catalog_versionJSONOptional
catalog_version (anyOf 1)JSONAlternative
catalog_version (anyOf 1) (anyOf 1)integerAlternativeThe specific version of the catalog objects to be included in the response.
This allows you to retrieve historical versions of objects. The specified version value is matched against
the [CatalogObject](entity:CatalogObject)s' `version` attribute. If not included, results will
be from the current version of the catalog.
Format: int64
Minimum: -9223372036854775808
Maximum: 9223372036854775807
catalog_version (anyOf 1) (anyOf 2)stringAlternativePattern: ^(?:-(?:1[0-9]{18}|[2-8][0-9]{18}|9(?:0[0-9]{17}|1[0-9]{17}|2(?:0[0-9]{16}|1[0-9]{16}|2(?:0[0-9]{15}|[1-2][0-9]{15}|3(?:0[0-9]{14}|[1-2][0-9]{14}|3(?:0[0-9]{13}|[1-6][0-9]{13}|7(?:0[0-9]{12}|1[0-9]{12}|20(?:0[0-9]{10}|[1-2][0-9]{10}|3(?:0[0-9]{9}|[1-5][0-9]{9}|6(?:0[0-9]{8}|[1-7][0-9]{8}|8(?:0[0-9]{7}|[1-4][0-9]{7}|5(?:0[0-9]{6}|[1-3][0-9]{6}|4(?:0[0-9]{5}|[1-6][0-9]{5}|7(?:0[0-9]{4}|[1-6][0-9]{4}|7(?:0[0-9]{3}|[1-4][0-9]{3}|5(?:0[0-9]{2}|[1-7][0-9]{2}|80[0-8]))))))))))))))))|-[1-9][0-9]{0,17}|0|(?:1[0-9]{18}|[2-8][0-9]{18}|9(?:0[0-9]{17}|1[0-9]{17}|2(?:0[0-9]{16}|1[0-9]{16}|2(?:0[0-9]{15}|[1-2][0-9]{15}|3(?:0[0-9]{14}|[1-2][0-9]{14}|3(?:0[0-9]{13}|[1-6][0-9]{13}|7(?:0[0-9]{12}|1[0-9]{12}|20(?:0[0-9]{10}|[1-2][0-9]{10}|3(?:0[0-9]{9}|[1-5][0-9]{9}|6(?:0[0-9]{8}|[1-7][0-9]{8}|8(?:0[0-9]{7}|[1-4][0-9]{7}|5(?:0[0-9]{6}|[1-3][0-9]{6}|4(?:0[0-9]{5}|[1-6][0-9]{5}|7(?:0[0-9]{4}|[1-6][0-9]{4}|7(?:0[0-9]{3}|[1-4][0-9]{3}|5(?:0[0-9]{2}|[1-7][0-9]{2}|80[0-7]))))))))))))))))|[1-9][0-9]{0,17})$(?!\n)
catalog_version (anyOf 2)nullAlternative
include_category_path_to_rootJSONOptional
include_category_path_to_root (anyOf 1)booleanAlternativeSpecifies whether or not to include the `path_to_root` list for each returned category instance. The `path_to_root` list consists
of `CategoryPathToRootNode` objects and specifies the path that starts with the immediate parent category of the returned category
and ends with its root category. If the returned category is a top-level category, the `path_to_root` list is empty and is not returned
in the response payload.
include_category_path_to_root (anyOf 2)nullAlternative
include_deleted_objectsJSONOptional
include_deleted_objects (anyOf 1)booleanAlternativeIndicates whether to include (`true`) or not (`false`) in the response deleted objects, namely, those with the `is_deleted` attribute set to `true`.
include_deleted_objects (anyOf 2)nullAlternative
include_optionsJSONOptional
include_options (anyOf 1)ModelAlternativeExpand Search Catalog Items — request body — body include options
Options to include related resources in the response.
include_options (anyOf 2)nullAlternative
include_related_objectsJSONOptional
include_related_objects (anyOf 1)booleanAlternativeIf `true`, the response will include additional objects that are related to the
requested objects. Related objects are defined as any objects referenced by ID by the results in the `objects` field
of the response. These objects are put in the `related_objects` field. Setting this to `true` is
helpful when the objects are needed for immediate display to a user.
This process only goes one level deep. Objects referenced by the related objects will not be included. For example,

if the `objects` field of the response contains a CatalogItem, its associated
CatalogCategory objects, CatalogTax objects, CatalogImage objects and
CatalogModifierLists will be returned in the `related_objects` field of the
response. If the `objects` field of the response contains a CatalogItemVariation,
its parent CatalogItem will be returned in the `related_objects` field of
the response.

Default value: `false`
include_related_objects (anyOf 2)nullAlternative
object_idsarrayRequired within parentThe IDs of the CatalogObjects to be retrieved.
object_ids[]stringEach item

Referenced models: Search Catalog Items — request body — body include options

Batch Retrieve Catalog Objects — response body

FieldTypePresenceDescription and constraints
$objectRoot
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
included_resourcesModelOptionalExpand Search Catalog Items — response body — included resources
A list of [CatalogObject](entity:CatalogObject)s referenced by the object in the `objects` field and specifically requested.
objectsarrayOptionalA list of [CatalogObject](entity:CatalogObject)s returned.
objects[]ModelEach itemExpand Create Catalog Image — response body — image
related_objectsarrayOptionalA list of [CatalogObject](entity:CatalogObject)s referenced by the object in the `objects` field.
related_objects[]ModelEach itemExpand Create Catalog Image — response body — image

Referenced models: Create Catalog Image — response body — image, Get Shift — response body — errors item, Search Catalog Items — response body — included resources

Batch Upsert Catalog Objects — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
batchesarrayRequired within parentA batch of CatalogObjects to be inserted/updated atomically.
The objects within a batch will be inserted in an all-or-nothing fashion, i.e., if an error occurs
attempting to insert or update an object within a batch, the entire batch will be rejected. However, an error
in one batch will not affect other batches within the same request.

For each object, its `updated_at` field is ignored and replaced with a current [timestamp](https://developer.squareup.com/docs/build-basics/working-with-dates), and its
`is_deleted` field must not be set to `true`.

To modify an existing object, supply its ID. To create a new object, use an ID starting
with `#`. These IDs may be used to create relationships between an object and attributes of
other objects that reference it. For example, you can create a CatalogItem with
ID `#ABC` and a CatalogItemVariation with its `item_id` attribute set to
`#ABC` in order to associate the CatalogItemVariation with its parent
CatalogItem.

Any `#`-prefixed IDs are valid only within a single atomic batch, and will be replaced by server-generated IDs.

Each batch may contain up to 1,000 objects. The total number of objects across all batches for a single request
may not exceed 10,000. If either of these limits is violated, an error will be returned and no objects will
be inserted or updated.
batches[]ModelEach itemExpand Batch Upsert Catalog Objects — request body — body batches item
idempotency_keystringRequired within parentA value you specify that uniquely identifies this
request among all your requests. A common way to create
a valid idempotency key is to use a Universally unique
identifier (UUID).

If you're unsure whether a particular request was successful,
you can reattempt it with the same idempotency key without
worrying about creating duplicate objects.

See [Idempotency](https://developer.squareup.com/docs/build-basics/common-api-patterns/idempotency) for more information.
Maximum length: 128
Minimum length: 1

Referenced models: Batch Upsert Catalog Objects — request body — body batches item

Batch Upsert Catalog Objects — request body — body batches item

FieldTypePresenceDescription and constraints
$objectRootA batch of catalog objects.
objectsarrayRequired within parentA list of CatalogObjects belonging to this batch.
objects[]ModelEach itemExpand Upsert Catalog Object — request body — body object

Referenced models: Upsert Catalog Object — request body — body object

Batch Upsert Catalog Objects — response body

FieldTypePresenceDescription and constraints
$objectRoot
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
id_mappingsarrayOptionalThe mapping between client and server IDs for this upsert.
id_mappings[]ModelEach itemExpand Upsert Catalog Object — response body — id mappings item
objectsarrayOptionalThe created successfully created CatalogObjects.
objects[]ModelEach itemExpand Create Catalog Image — response body — image
updated_atstringOptionalThe database [timestamp](https://developer.squareup.com/docs/build-basics/working-with-dates) of this update in RFC 3339 format, e.g., "2016-09-04T23:59:33.123Z".

Referenced models: Upsert Catalog Object — response body — id mappings item, Create Catalog Image — response body — image, Get Shift — response body — errors item

Catalog Info — response body

FieldTypePresenceDescription and constraints
$objectRoot
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
limitsModelOptionalExpand Catalog Info — response body — limits
Limits that apply to this API.
standard_unit_description_groupModelOptionalExpand Catalog Info — response body — standard unit description group
Names and abbreviations for standard units.

Referenced models: Catalog Info — response body — limits, Get Shift — response body — errors item, Catalog Info — response body — standard unit description group

Catalog Info — response body — limits

FieldTypePresenceDescription and constraints
$objectRoot
batch_delete_max_object_idsJSONOptional
batch_delete_max_object_ids (anyOf 1)JSONAlternative
batch_delete_max_object_ids (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of object IDs that may be included in a single
`/v2/catalog/batch-delete` request.
batch_delete_max_object_ids (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
batch_delete_max_object_ids (anyOf 2)nullAlternative
batch_retrieve_max_object_idsJSONOptional
batch_retrieve_max_object_ids (anyOf 1)JSONAlternative
batch_retrieve_max_object_ids (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of object IDs that may appear in a `/v2/catalog/batch-retrieve`
request.
batch_retrieve_max_object_ids (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
batch_retrieve_max_object_ids (anyOf 2)nullAlternative
batch_upsert_max_objects_per_batchJSONOptional
batch_upsert_max_objects_per_batch (anyOf 1)JSONAlternative
batch_upsert_max_objects_per_batch (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of objects that may appear within a single batch in a
`/v2/catalog/batch-upsert` request.
batch_upsert_max_objects_per_batch (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
batch_upsert_max_objects_per_batch (anyOf 2)nullAlternative
batch_upsert_max_total_objectsJSONOptional
batch_upsert_max_total_objects (anyOf 1)JSONAlternative
batch_upsert_max_total_objects (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of objects that may appear across all batches in a
`/v2/catalog/batch-upsert` request.
batch_upsert_max_total_objects (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
batch_upsert_max_total_objects (anyOf 2)nullAlternative
search_max_page_limitJSONOptional
search_max_page_limit (anyOf 1)JSONAlternative
search_max_page_limit (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of results that may be returned in a page of a
`/v2/catalog/search` response.
search_max_page_limit (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
search_max_page_limit (anyOf 2)nullAlternative
update_item_modifier_lists_max_item_idsJSONOptional
update_item_modifier_lists_max_item_ids (anyOf 1)JSONAlternative
update_item_modifier_lists_max_item_ids (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of item IDs that may be included in a single
`/v2/catalog/update-item-modifier-lists` request.
update_item_modifier_lists_max_item_ids (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
update_item_modifier_lists_max_item_ids (anyOf 2)nullAlternative
update_item_modifier_lists_max_modifier_lists_to_disableJSONOptional
update_item_modifier_lists_max_modifier_lists_to_disable (anyOf 1)JSONAlternative
update_item_modifier_lists_max_modifier_lists_to_disable (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of modifier list IDs to be disabled that may be included in
a single `/v2/catalog/update-item-modifier-lists` request.
update_item_modifier_lists_max_modifier_lists_to_disable (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
update_item_modifier_lists_max_modifier_lists_to_disable (anyOf 2)nullAlternative
update_item_modifier_lists_max_modifier_lists_to_enableJSONOptional
update_item_modifier_lists_max_modifier_lists_to_enable (anyOf 1)JSONAlternative
update_item_modifier_lists_max_modifier_lists_to_enable (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of modifier list IDs to be enabled that may be included in
a single `/v2/catalog/update-item-modifier-lists` request.
update_item_modifier_lists_max_modifier_lists_to_enable (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
update_item_modifier_lists_max_modifier_lists_to_enable (anyOf 2)nullAlternative
update_item_taxes_max_item_idsJSONOptional
update_item_taxes_max_item_ids (anyOf 1)JSONAlternative
update_item_taxes_max_item_ids (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of item IDs that may be included in a single
`/v2/catalog/update-item-taxes` request.
update_item_taxes_max_item_ids (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
update_item_taxes_max_item_ids (anyOf 2)nullAlternative
update_item_taxes_max_taxes_to_disableJSONOptional
update_item_taxes_max_taxes_to_disable (anyOf 1)JSONAlternative
update_item_taxes_max_taxes_to_disable (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of tax IDs to be disabled that may be included in a single
`/v2/catalog/update-item-taxes` request.
update_item_taxes_max_taxes_to_disable (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
update_item_taxes_max_taxes_to_disable (anyOf 2)nullAlternative
update_item_taxes_max_taxes_to_enableJSONOptional
update_item_taxes_max_taxes_to_enable (anyOf 1)JSONAlternative
update_item_taxes_max_taxes_to_enable (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of tax IDs to be enabled that may be included in a single
`/v2/catalog/update-item-taxes` request.
update_item_taxes_max_taxes_to_enable (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
update_item_taxes_max_taxes_to_enable (anyOf 2)nullAlternative

Catalog Info — response body — standard unit description group

FieldTypePresenceDescription and constraints
$objectRootGroup of standard measurement units.
language_codeJSONOptional
language_code (anyOf 1)stringAlternativeIETF language tag.
language_code (anyOf 2)nullAlternative
standard_unit_descriptionsJSONOptional
standard_unit_descriptions (anyOf 1)arrayAlternativeList of standard (non-custom) measurement units in this description group.
standard_unit_descriptions (anyOf 1)[]ModelEach itemExpand Catalog Info — response body — standard unit description group standard unit descriptions array item
standard_unit_descriptions (anyOf 2)nullAlternative

Referenced models: Catalog Info — response body — standard unit description group standard unit descriptions array item

Catalog Info — response body — standard unit description group standard unit descriptions array item

FieldTypePresenceDescription and constraints
$objectRootContains the name and abbreviation for standard measurement unit.
abbreviationJSONOptional
abbreviation (anyOf 1)stringAlternativeUI display abbreviation for the measurement unit. For example, 'lb'.
abbreviation (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeUI display name of the measurement unit. For example, 'Pound'.
name (anyOf 2)nullAlternative
unitJSONOptional
unit (anyOf 1)ModelAlternativeExpand Batch Change Inventory — response body — changes item measurement unit measurement unit area unit, custom unit, generic unit, length unit, time unit, type, volume unit, weight unit
Identifies the measurement unit being described.
unit (anyOf 2)nullAlternative

Referenced models: Batch Change Inventory — response body — changes item measurement unit measurement unit area unit, custom unit, generic unit, length unit, time unit, type, volume unit, weight unit

Create Catalog Image — request body — body request

FieldTypePresenceDescription and constraints
$objectRoot
idempotency_keystringRequired within parentA unique string that identifies this CreateCatalogImage request.
Keys can be any valid string but must be unique for every CreateCatalogImage request.

See [Idempotency keys](https://developer.squareup.com/docs/build-basics/common-api-patterns/idempotency) for more information.
Maximum length: 128
Minimum length: 1
imageModelRequired within parentExpand Upsert Catalog Object — request body — body object
The new `CatalogObject` of the `IMAGE` type, namely, a `CatalogImage` object, to encapsulate the specified image file.
is_primarybooleanOptionalIf this is set to `true`, the image created will be the primary, or first image of the object referenced by `object_id`.
If the `CatalogObject` already has a primary `CatalogImage`, setting this field to `true` will replace the primary image.
If this is set to `false` and you use the Square API version 2021-12-15 or later, the image id will be appended to the list of `image_ids` on the object.

With Square API version 2021-12-15 or later, the default value is `false`. Otherwise, the effective default value is `true`.
object_idstringOptionalUnique ID of the `CatalogObject` to attach this `CatalogImage` object to. Leave this
field empty to create unattached images, for example if you are building an integration
where an image can be attached to catalog items at a later time.

Referenced models: Upsert Catalog Object — request body — body object

Create Catalog Image — response body

FieldTypePresenceDescription and constraints
$objectRoot
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
imageModelOptionalExpand Create Catalog Image — response body — image
The newly created `CatalogImage` including a Square-generated
URL for the encapsulated image file.

Referenced models: Create Catalog Image — response body — image, Get Shift — response body — errors item

Create Catalog Image — response body — image

FieldTypePresenceDescription and constraints
$objectRootThe wrapper object for the catalog entries of a given object type.

Depending on the `type` attribute value, a `CatalogObject` instance assumes a type-specific data to yield the corresponding type of catalog object.

For example, if `type=ITEM`, the `CatalogObject` instance must have the ITEM-specific data set on the `item_data` attribute. The resulting `CatalogObject` instance is also a `CatalogItem` instance.

In general, if `type=<OBJECT_TYPE>`, the `CatalogObject` instance must have the `<OBJECT_TYPE>`-specific data set on the `<object_type>_data` attribute. The resulting `CatalogObject` instance is also a `Catalog<ObjectType>` instance.

For a more detailed discussion of the Catalog data model, please see the
[Design a Catalog](https://developer.squareup.com/docs/catalog-api/design-a-catalog) guide.
absent_at_location_idsJSONOptional
absent_at_location_ids (anyOf 1)arrayAlternativeLocations where the object is not present, used when `present_at_all_locations` is true.

When `present_at_all_locations` is false, this field is ignored since the object is
already absent everywhere except those in `present_at_location_ids`. Can include
deactivated locations. Empty strings are rejected.
absent_at_location_ids (anyOf 1)[]stringEach item
absent_at_location_ids (anyOf 2)nullAlternative
availability_period_dataJSONOptional
availability_period_data (anyOf 1)ModelAlternativeExpand Create Catalog Image — response body — image availability period data Represents a time period of availability
Structured data for a `CatalogAvailabilityPeriod`, set for CatalogObjects of type `AVAILABILITY_PERIOD`.
availability_period_data (anyOf 2)nullAlternative
catalog_v1_idsJSONOptional
catalog_v1_ids (anyOf 1)arrayAlternativeThe Connect v1 IDs for this object at each location where it is present, where they
differ from the object's Connect V2 ID. The field will only be present for objects that
have been created or modified by legacy APIs.
catalog_v1_ids (anyOf 1)[]ModelEach itemExpand Create Catalog Image — response body — image catalog v1 ids array item
catalog_v1_ids (anyOf 2)nullAlternative
category_dataJSONOptional
category_data (anyOf 1)ModelAlternativeExpand Create Catalog Image — response body — image category data availability period ids, category type, channels, ecom seo data, image ids, is top level, name, online visibility, parent category, path to root, root category
Structured data for a `CatalogCategory`, set for CatalogObjects of type `CATEGORY`.
category_data (anyOf 2)nullAlternative
custom_attribute_definition_dataJSONOptional
custom_attribute_definition_data (anyOf 1)ModelAlternativeExpand CreateCatalogImage — response body — image / custom_attribute_definition_data / type: STRING, BOOLEAN, NUMBER, SELECTION
Structured data for a `CatalogCustomAttributeDefinition`, set for CatalogObjects of type `CUSTOM_ATTRIBUTE_DEFINITION`.
custom_attribute_definition_data (anyOf 2)nullAlternative
custom_attribute_valuesJSONOptional
custom_attribute_values (anyOf 1)objectAlternativeA map (key-value pairs) of application-defined custom attribute values. The value of a key-value pair
is a [CatalogCustomAttributeValue](entity:CatalogCustomAttributeValue) object. The key is the `key` attribute
value defined in the associated [CatalogCustomAttributeDefinition](entity:CatalogCustomAttributeDefinition)
object defined by the application making the request.

If the `CatalogCustomAttributeDefinition` object is
defined by another application, the `CatalogCustomAttributeDefinition`'s key attribute value is prefixed by
the defining application ID. For example, if the `CatalogCustomAttributeDefinition` has a `key` attribute of
`"cocoa_brand"` and the defining application ID is `"abcd1234"`, the key in the map is `"abcd1234:cocoa_brand"`
if the application making the request is different from the application defining the custom attribute definition.
Otherwise, the key used in the map is simply `"cocoa_brand"`.

Application-defined custom attributes are set at a global (location-independent) level.
Custom attribute values are intended to store additional information about a catalog object
or associations with an entity in another system. Do not use custom attributes
to store any sensitive information (personally identifiable information, card details, etc.).
Additional keys: see wildcard field
custom_attribute_values (anyOf 1).*ModelAdditional keysExpand Create Catalog Image — response body — image custom attribute values object value
custom_attribute_values (anyOf 2)nullAlternative
discount_dataJSONOptional
discount_data (anyOf 1)ModelAlternativeExpand Create Catalog Image — response body — image discount data A discount applicable to items
Structured data for a `CatalogDiscount`, set for CatalogObjects of type `DISCOUNT`.
discount_data (anyOf 2)nullAlternative
idstringRequired within parentAn identifier to reference this object in the catalog. When a new `CatalogObject`
is inserted, the client should set the id to a temporary identifier starting with
a "`#`" character. Other objects being inserted or updated within the same request
may use this identifier to refer to the new object.

When the server receives the new object, it will supply a unique identifier that
replaces the temporary identifier for all future references.
Minimum length: 1
image_dataJSONOptional
image_data (anyOf 1)ModelAlternativeExpand Create Catalog Image — response body — image image data caption, name, photo studio order id, url
Structured data for a `CatalogImage`, set for CatalogObjects of type `IMAGE`.
image_data (anyOf 2)nullAlternative
is_deletedJSONOptional
is_deleted (anyOf 1)booleanAlternativeIf `true`, the object has been deleted from the database. Must be `false` for new objects
being inserted. When deleted, the `updated_at` field will equal the deletion time.
is_deleted (anyOf 2)nullAlternative
item_dataJSONOptional
item_data (anyOf 1)ModelAlternativeExpand Create Catalog Image — response body — image item data abbreviation, buyer facing name, categories, category id, channels, description, description html, description plaintext, ecom image uris, ecom seo data, ecom uri, food and beverage details, image ids, is alcoholic, is archived, is taxable, item options, kitchen name, label color, modifier list info, name, product type, reporting category, skip modifier screen, sort name, tax ids, variations
Structured data for a `CatalogItem`, set for CatalogObjects of type `ITEM`.
item_data (anyOf 2)nullAlternative
item_option_dataJSONOptional
item_option_data (anyOf 1)ModelAlternativeExpand Create Catalog Image — response body — image item option data A group of variations for a `Catalog Item`
Structured data for a `CatalogItemOption`, set for CatalogObjects of type `ITEM_OPTION`.
item_option_data (anyOf 2)nullAlternative
item_option_value_dataJSONOptional
item_option_value_data (anyOf 1)ModelAlternativeExpand Create Catalog Image — response body — image item option value data An enumerated value that can link a
Structured data for a `CatalogItemOptionValue`, set for CatalogObjects of type `ITEM_OPTION_VAL`.
item_option_value_data (anyOf 2)nullAlternative
item_variation_dataJSONOptional
item_variation_data (anyOf 1)ModelAlternativeExpand Create Catalog Image — response body — image item variation data available for booking, image ids, inventory alert threshold, inventory alert type, item id, item option values, kitchen name, location overrides, measurement unit id, name, ordinal, price money, pricing type, sellable, service duration, sku, stockable, stockable conversion, team member ids, track inventory, upc, user data, vendor information
Structured data for a `CatalogItemVariation`, set for CatalogObjects of type `ITEM_VARIATION`.
item_variation_data (anyOf 2)nullAlternative
measurement_unit_dataJSONOptional
measurement_unit_data (anyOf 1)ModelAlternativeExpand Batch Change Inventory — response body — changes item measurement unit
Structured data for a `CatalogMeasurementUnit`, set for CatalogObjects of type `MEASUREMENT_UNIT`.
measurement_unit_data (anyOf 2)nullAlternative
modifier_dataJSONOptional
modifier_data (anyOf 1)ModelAlternativeExpand Create Catalog Image — response body — image modifier data child modifier list ids, hidden online, image id, kitchen color, kitchen name, location overrides, modifier list id, name, on by default, ordinal, price money
Structured data for a `CatalogModifier`, set for CatalogObjects of type `MODIFIER`.
modifier_data (anyOf 2)nullAlternative
modifier_list_dataJSONOptional
modifier_list_data (anyOf 1)ModelAlternativeExpand Create Catalog Image — response body — image modifier list data allow quantities, hidden from customer, image ids, internal name, is conversational, max length, max selected modifiers, min selected modifiers, modifier type, modifiers, name, ordinal, selection type, text required
Structured data for a `CatalogModifierList`, set for CatalogObjects of type `MODIFIER_LIST`.
modifier_list_data (anyOf 2)nullAlternative
present_at_all_locationsJSONOptional
present_at_all_locations (anyOf 1)booleanAlternativeControls whether this object is present at all locations, including future locations.

Most object types have independent location control, including `TAX`, `DISCOUNT`, and
`MODIFIER_LIST`.

`ITEM` and `ITEM_VARIATION` have separate settings, but a variation can only be enabled
at locations where its parent item is enabled. Disabling a variation everywhere is valid
even when the parent item is enabled at specific locations.

`MODIFIER` objects nested within a `MODIFIER_LIST` inherit location settings from their parent.
Some object types, including `CATEGORY`, `IMAGE`, and `CUSTOM_ATTRIBUTE_DEFINITION`, must
always be globally enabled and cannot use location-specific fields.

The field operates in two modes. When true (the default), the object is available at
all current and future locations except those in `absent_at_location_ids`. When false,
the object is available only at locations in `present_at_location_ids`. The unused
list in each mode is ignored.
present_at_all_locations (anyOf 2)nullAlternative
present_at_location_idsJSONOptional
present_at_location_ids (anyOf 1)arrayAlternativeLocations where the object is present, used when `present_at_all_locations` is false.

When `present_at_all_locations` is true, this field is ignored since the object is
already present everywhere. Can include deactivated locations. Empty strings are rejected.
present_at_location_ids (anyOf 1)[]stringEach item
present_at_location_ids (anyOf 2)nullAlternative
pricing_rule_dataJSONOptional
pricing_rule_data (anyOf 1)ModelAlternativeExpand Create Catalog Image — response body — image pricing rule data apply products id, customer group ids any, discount id, exclude products id, exclude strategy, match products id, minimum order subtotal money, name, time period ids, valid from date, valid from local time, valid until date, valid until local time
Structured data for a `CatalogPricingRule`, set for CatalogObjects of type `PRICING_RULE`.
A `CatalogPricingRule` object often works with a `CatalogProductSet` object or a `CatalogTimePeriod` object.
pricing_rule_data (anyOf 2)nullAlternative
product_set_dataJSONOptional
product_set_data (anyOf 1)ModelAlternativeExpand Create Catalog Image — response body — image product set data all products, name, product ids all, product ids any, quantity exact, quantity max, quantity min
Structured data for a `CatalogProductSet`, set for CatalogObjects of type `PRODUCT_SET`.
product_set_data (anyOf 2)nullAlternative
quick_amounts_settings_dataJSONOptional
quick_amounts_settings_data (anyOf 1)ModelAlternativeExpand CreateCatalogImage — response body — image / quick_amounts_settings_data / option: DISABLED, MANUAL, AUTO
Structured data for a `CatalogQuickAmountsSettings`, set for CatalogObjects of type `QUICK_AMOUNTS_SETTINGS`.
quick_amounts_settings_data (anyOf 2)nullAlternative
subscription_plan_dataJSONOptional
subscription_plan_data (anyOf 1)ModelAlternativeExpand Create Catalog Image — response body — image subscription plan data all items, eligible category ids, eligible item ids, name, phases, subscription plan variations
Structured data for a `CatalogSubscriptionPlan`, set for CatalogObjects of type `SUBSCRIPTION_PLAN`.
subscription_plan_data (anyOf 2)nullAlternative
subscription_plan_variation_dataJSONOptional
subscription_plan_variation_data (anyOf 1)ModelAlternativeExpand Create Catalog Image — response body — image subscription plan variation data can prorate, monthly billing anchor date, name, phases, subscription plan id, successor plan variation id
Structured data for a `CatalogSubscriptionPlanVariation`, set for CatalogObjects of type `SUBSCRIPTION_PLAN_VARIATION`.
subscription_plan_variation_data (anyOf 2)nullAlternative
tax_dataJSONOptional
tax_data (anyOf 1)ModelAlternativeExpand Create Catalog Image — response body — image tax data A tax applicable to an item
Structured data for a `CatalogTax`, set for CatalogObjects of type `TAX`.
tax_data (anyOf 2)nullAlternative
time_period_dataJSONOptional
time_period_data (anyOf 1)ModelAlternativeExpand Create Catalog Image — response body — image time period data event
Structured data for a `CatalogTimePeriod`, set for CatalogObjects of type `TIME_PERIOD`.
time_period_data (anyOf 2)nullAlternative
typeModelRequired within parentExpand Create Catalog Image — response body — image type
The type of this object. Each object type has expected
properties expressed in a structured format within its corresponding `*_data` field below.
See [CatalogObjectType](#type-catalogobjecttype) for possible values
updated_atstringOptionalLast modification [timestamp](https://developer.squareup.com/docs/build-basics/working-with-dates) in RFC 3339 format, e.g., `"2016-08-15T23:59:33.123Z"`
would indicate the UTC time (denoted by `Z`) of August 15, 2016 at 23:59:33 and 123 milliseconds.
Read only: true
versionJSONOptional
version (anyOf 1)integerAlternativeThe version of the object. When updating an object, the version supplied should match
the version in the database. If it does not, the server attempts a three-way merge. If the
client's changes and the concurrent changes don't overlap, the merge succeeds silently. A
`VERSION_MISMATCH` error is only returned when both sides changed the same field to different
values.

Use the same API version (`Square-Version` header) for both reading and writing catalog
objects. The server uses the API version on a write request to determine which missing fields
the client intentionally cleared versus which fields the client simply could not see at that
version. If a client reads an object at an older API version and writes it back at a newer
version, fields that were introduced between those two versions will be absent from the
request, and the server will interpret that absence as an intentional clear.
Format: int64
version (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Create Catalog Image — response body — image image data caption, name, photo studio order id, url, Create Catalog Image — response body — image time period data event, Create Catalog Image — response body — image catalog v1 ids array item, Create Catalog Image — response body — image availability period data Represents a time period of availability, Create Catalog Image — response body — image category data availability period ids, category type, channels, ecom seo data, image ids, is top level, name, online visibility, parent category, path to root, root category, CreateCatalogImage — response body — image / custom_attribute_definition_data / type: STRING, BOOLEAN, NUMBER, SELECTION, Create Catalog Image — response body — image custom attribute values object value, Create Catalog Image — response body — image discount data A discount applicable to items, Create Catalog Image — response body — image item data abbreviation, buyer facing name, categories, category id, channels, description, description html, description plaintext, ecom image uris, ecom seo data, ecom uri, food and beverage details, image ids, is alcoholic, is archived, is taxable, item options, kitchen name, label color, modifier list info, name, product type, reporting category, skip modifier screen, sort name, tax ids, variations, Create Catalog Image — response body — image item option data A group of variations for a `Catalog Item`, Create Catalog Image — response body — image item option value data An enumerated value that can link a, Create Catalog Image — response body — image item variation data available for booking, image ids, inventory alert threshold, inventory alert type, item id, item option values, kitchen name, location overrides, measurement unit id, name, ordinal, price money, pricing type, sellable, service duration, sku, stockable, stockable conversion, team member ids, track inventory, upc, user data, vendor information, Batch Change Inventory — response body — changes item measurement unit, Create Catalog Image — response body — image modifier data child modifier list ids, hidden online, image id, kitchen color, kitchen name, location overrides, modifier list id, name, on by default, ordinal, price money, Create Catalog Image — response body — image modifier list data allow quantities, hidden from customer, image ids, internal name, is conversational, max length, max selected modifiers, min selected modifiers, modifier type, modifiers, name, ordinal, selection type, text required, Create Catalog Image — response body — image type, Create Catalog Image — response body — image pricing rule data apply products id, customer group ids any, discount id, exclude products id, exclude strategy, match products id, minimum order subtotal money, name, time period ids, valid from date, valid from local time, valid until date, valid until local time, Create Catalog Image — response body — image product set data all products, name, product ids all, product ids any, quantity exact, quantity max, quantity min, CreateCatalogImage — response body — image / quick_amounts_settings_data / option: DISABLED, MANUAL, AUTO, Create Catalog Image — response body — image subscription plan data all items, eligible category ids, eligible item ids, name, phases, subscription plan variations, Create Catalog Image — response body — image subscription plan variation data can prorate, monthly billing anchor date, name, phases, subscription plan id, successor plan variation id, Create Catalog Image — response body — image tax data A tax applicable to an item

Create Catalog Image — response body — image availability period data Represents a time period of availability

FieldTypePresenceDescription and constraints
$objectRootRepresents a time period of availability.
day_of_weekJSONOptional
day_of_week (anyOf 1)stringAlternativeIndicates the specific day of the week.
The day of the week for this availability period.
See [DayOfWeek](#type-dayofweek) for possible values
Known values: SUN, MON, TUE, WED, THU, FRI, SAT
day_of_week (anyOf 2)nullAlternative
end_local_timeJSONOptional
end_local_time (anyOf 1)stringAlternativeThe end time of an availability period, specified in local time using partial-time
RFC 3339 format. For example, `21:00:00` for a period ending at 9:00 in the evening.
Note that the seconds value is always :00, but it is appended for conformance to the RFC.
end_local_time (anyOf 2)nullAlternative
start_local_timeJSONOptional
start_local_time (anyOf 1)stringAlternativeThe start time of an availability period, specified in local time using partial-time
RFC 3339 format. For example, `8:30:00` for a period starting at 8:30 in the morning.
Note that the seconds value is always :00, but it is appended for conformance to the RFC.
start_local_time (anyOf 2)nullAlternative

Create Catalog Image — response body — image catalog v1 ids array item

FieldTypePresenceDescription and constraints
$objectRootA Square API V1 identifier of an item, including the object ID and its associated location ID.
catalog_v1_idJSONOptional
catalog_v1_id (anyOf 1)stringAlternativeThe ID for an object used in the Square API V1, if the object ID differs from the Square API V2 object ID.
catalog_v1_id (anyOf 2)nullAlternative
location_idJSONOptional
location_id (anyOf 1)stringAlternativeThe ID of the `Location` this Connect V1 ID is associated with.
location_id (anyOf 2)nullAlternative

Create Catalog Image — response body — image category data availability period ids, category type, channels, ecom seo data, image ids, is top level, name, online visibility, parent category, path to root, root category

FieldTypePresenceDescription and constraints
$objectRootA category to which a `CatalogItem` instance belongs.
availability_period_idsJSONOptional
availability_period_ids (anyOf 1)arrayAlternativeThe IDs of the `CatalogAvailabilityPeriod` objects associated with the category.
availability_period_ids (anyOf 1)[]stringEach item
availability_period_ids (anyOf 2)nullAlternative
category_typeJSONOptional
category_type (anyOf 1)stringAlternativeIndicates the type of a category.
The type of the category.
See [CatalogCategoryType](#type-catalogcategorytype) for possible values
Known values: REGULAR_CATEGORY, MENU_CATEGORY, KITCHEN_CATEGORY
category_type (anyOf 2)nullAlternative
channelsJSONOptional
channels (anyOf 1)arrayAlternativeA list of IDs representing channels, such as a Square Online site, where the category can be made visible.
channels (anyOf 1)[]stringEach item
channels (anyOf 2)nullAlternative
ecom_seo_dataJSONOptional
ecom_seo_data (anyOf 1)ModelAlternativeExpand Create Catalog Image — response body — image category data availability period ids, category type, channels, ecom seo data, image ids, is top level, name, online visibility, parent category, path to root, root category ecom seo data SEO data for for a seller's Square Online store
The SEO data for a seller's Square Online store.
ecom_seo_data (anyOf 2)nullAlternative
image_idsJSONOptional
image_ids (anyOf 1)arrayAlternativeThe IDs of images associated with this `CatalogCategory` instance.
Currently these images are not displayed by Square, but are free to be displayed in 3rd party applications.
image_ids (anyOf 1)[]stringEach item
image_ids (anyOf 2)nullAlternative
is_top_levelJSONOptional
is_top_level (anyOf 1)booleanAlternativeIndicates whether a category is a top level category, which does not have any parent_category.
is_top_level (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeThe category name. This is a searchable attribute for use in applicable query filters, and its value length is of Unicode code points.
Maximum length: 255
name (anyOf 2)nullAlternative
online_visibilityJSONOptional
online_visibility (anyOf 1)booleanAlternativeIndicates whether the category is visible (`true`) or hidden (`false`) on all of the seller's Square Online sites.
online_visibility (anyOf 2)nullAlternative
parent_categoryJSONOptional
parent_category (anyOf 1)ModelAlternativeExpand Create Catalog Image — response body — image category data availability period ids, category type, channels, ecom seo data, image ids, is top level, name, online visibility, parent category, path to root, root category parent category id, ordinal
The parent category of this category instance. This includes the parent category ID and an ordinal
value that determines the category's relative position among sibling categories with the same parent.
parent_category (anyOf 2)nullAlternative
path_to_rootJSONOptional
path_to_root (anyOf 1)arrayAlternativeThe path from the category to its root category. The first node of the path is the parent of the category
and the last is the root category. The path is empty if the category is a root category.
path_to_root (anyOf 1)[]ModelEach itemExpand Create Catalog Image — response body — image category data availability period ids, category type, channels, ecom seo data, image ids, is top level, name, online visibility, parent category, path to root, root category path to root array item
path_to_root (anyOf 2)nullAlternative
root_categorystringOptionalThe top-level category in a category hierarchy.
Read only: true

Referenced models: Create Catalog Image — response body — image category data availability period ids, category type, channels, ecom seo data, image ids, is top level, name, online visibility, parent category, path to root, root category ecom seo data SEO data for for a seller's Square Online store, Create Catalog Image — response body — image category data availability period ids, category type, channels, ecom seo data, image ids, is top level, name, online visibility, parent category, path to root, root category path to root array item, Create Catalog Image — response body — image category data availability period ids, category type, channels, ecom seo data, image ids, is top level, name, online visibility, parent category, path to root, root category parent category id, ordinal

Create Catalog Image — response body — image category data availability period ids, category type, channels, ecom seo data, image ids, is top level, name, online visibility, parent category, path to root, root category ecom seo data SEO data for for a seller's Square Online store

FieldTypePresenceDescription and constraints
$objectRootSEO data for for a seller's Square Online store.
page_descriptionJSONOptional
page_description (anyOf 1)stringAlternativeThe SEO description used for the Square Online store.
page_description (anyOf 2)nullAlternative
page_titleJSONOptional
page_title (anyOf 1)stringAlternativeThe SEO title used for the Square Online store.
page_title (anyOf 2)nullAlternative
permalinkJSONOptional
permalink (anyOf 1)stringAlternativeThe SEO permalink used for the Square Online store.
permalink (anyOf 2)nullAlternative

Create Catalog Image — response body — image category data availability period ids, category type, channels, ecom seo data, image ids, is top level, name, online visibility, parent category, path to root, root category parent category id, ordinal

FieldTypePresenceDescription and constraints
$objectRootA category that can be assigned to an item or a parent category that can be assigned
to another category. For example, a clothing category can be assigned to a t-shirt item or
be made as the parent category to the pants category.
idstringOptionalThe ID of the object's category.
ordinalJSONOptional
ordinal (anyOf 1)JSONAlternative
ordinal (anyOf 1) (anyOf 1)integerAlternativeThe position of this object within the specified category. When an item is assigned to a category,
the ordinal determines the item's position relative to other items in the same category. When used for a
parent category reference, the ordinal determines the category's position among its sibling categories.
Format: int64
ordinal (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
ordinal (anyOf 2)nullAlternative

Create Catalog Image — response body — image category data availability period ids, category type, channels, ecom seo data, image ids, is top level, name, online visibility, parent category, path to root, root category path to root array item

FieldTypePresenceDescription and constraints
$objectRootA node in the path from a retrieved category to its root node.
category_idJSONOptional
category_id (anyOf 1)stringAlternativeThe category's ID.
category_id (anyOf 2)nullAlternative
category_nameJSONOptional
category_name (anyOf 1)stringAlternativeThe category's name.
category_name (anyOf 2)nullAlternative

Create Catalog Image — response body — image custom attribute values object value

FieldTypePresenceDescription and constraints
$objectRootAn instance of a custom attribute. Custom attributes can be defined and
added to `ITEM` and `ITEM_VARIATION` type catalog objects.
[Read more about custom attributes](https://developer.squareup.com/docs/catalog-api/add-custom-attributes).
boolean_valueJSONOptional
boolean_value (anyOf 1)booleanAlternativeA `true` or `false` value. Populated if `type` = `BOOLEAN`.
boolean_value (anyOf 2)nullAlternative
custom_attribute_definition_idstringOptionalThe id of the [CatalogCustomAttributeDefinition](entity:CatalogCustomAttributeDefinition) this value belongs to.
Read only: true
keystringOptionalIf the associated `CatalogCustomAttributeDefinition` object is defined by another application, this key is prefixed by the defining application ID.
For example, if the CatalogCustomAttributeDefinition has a key attribute of "cocoa_brand" and the defining application ID is "abcd1234", this key is "abcd1234:cocoa_brand"
when the application making the request is different from the application defining the custom attribute definition. Otherwise, the key is simply "cocoa_brand".
Read only: true
nameJSONOptional
name (anyOf 1)stringAlternativeThe name of the custom attribute.
name (anyOf 2)nullAlternative
number_valueJSONOptional
number_value (anyOf 1)stringAlternativePopulated if `type` = `NUMBER`. Contains a string
representation of a decimal number, using a `.` as the decimal separator.
number_value (anyOf 2)nullAlternative
selection_uid_valuesJSONOptional
selection_uid_values (anyOf 1)arrayAlternativeOne or more choices from `allowed_selections`. Populated if `type` = `SELECTION`.
selection_uid_values (anyOf 1)[]stringEach item
selection_uid_values (anyOf 2)nullAlternative
string_valueJSONOptional
string_value (anyOf 1)stringAlternativeThe string value of the custom attribute. Populated if `type` = `STRING`.
string_value (anyOf 2)nullAlternative
typestringOptionalDefines the possible types for a custom attribute.
A copy of type from the associated `CatalogCustomAttributeDefinition`.
See [CatalogCustomAttributeDefinitionType](#type-catalogcustomattributedefinitiontype) for possible values
Known values: STRING, BOOLEAN, NUMBER, SELECTION
Read only: true

Create Catalog Image — response body — image discount data A discount applicable to items

FieldTypePresenceDescription and constraints
$objectRootA discount applicable to items.
amount_moneyJSONOptional
amount_money (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
The amount of the discount. Specify an amount of `0` if `discount_type` is `VARIABLE_AMOUNT`.

Do not use this field for percentage-based or variable discounts.
amount_money (anyOf 2)nullAlternative
discount_typeJSONOptional
discount_type (anyOf 1)stringAlternativeHow to apply a CatalogDiscount to a CatalogItem.
Indicates whether the discount is a fixed amount or percentage, or entered at the time of sale.
See [CatalogDiscountType](#type-catalogdiscounttype) for possible values
Known values: FIXED_PERCENTAGE, FIXED_AMOUNT, VARIABLE_PERCENTAGE, VARIABLE_AMOUNT
discount_type (anyOf 2)nullAlternative
label_colorJSONOptional
label_color (anyOf 1)stringAlternativeThe color of the discount display label in the Square Point of Sale app. This must be a valid hex color code.
label_color (anyOf 2)nullAlternative
maximum_amount_moneyJSONOptional
maximum_amount_money (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
For a percentage discount, the maximum absolute value of the discount. For example, if a
50% discount has a `maximum_amount_money` of $20, a $100 purchase will yield a $20 discount,
not a $50 discount.
maximum_amount_money (anyOf 2)nullAlternative
modify_tax_basisJSONOptional
modify_tax_basis (anyOf 1)stringAlternativeIndicates whether this discount should reduce the price used to calculate tax.

Most discounts should use `MODIFY_TAX_BASIS`. However, in some circumstances taxes must
be calculated based on an item's price, ignoring a particular discount. For example,
in many US jurisdictions, a manufacturer coupon or instant rebate reduces the price a
customer pays but does not reduce the sale price used to calculate how much sales tax is
due. In this case, the discount representing that manufacturer coupon should have
`DO_NOT_MODIFY_TAX_BASIS` for this field.

If you are unsure whether you need to use this field, consult your tax professional.
See [CatalogDiscountModifyTaxBasis](#type-catalogdiscountmodifytaxbasis) for possible values
Known values: MODIFY_TAX_BASIS, DO_NOT_MODIFY_TAX_BASIS
modify_tax_basis (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeThe discount name. This is a searchable attribute for use in applicable query filters, and its value length is of Unicode code points.
Maximum length: 255
name (anyOf 2)nullAlternative
percentageJSONOptional
percentage (anyOf 1)stringAlternativeThe percentage of the discount as a string representation of a decimal number, using a `.` as the decimal
separator and without a `%` sign. A value of `7.5` corresponds to `7.5%`. Specify a percentage of `0` if `discount_type`
is `VARIABLE_PERCENTAGE`.

Do not use this field for amount-based or variable discounts.
percentage (anyOf 2)nullAlternative
pin_requiredJSONOptional
pin_required (anyOf 1)booleanAlternativeIndicates whether a mobile staff member needs to enter their PIN to apply the
discount to a payment in the Square Point of Sale app.
pin_required (anyOf 2)nullAlternative

Referenced models: Pay Order — response body — order total money

Create Catalog Image — response body — image image data caption, name, photo studio order id, url

FieldTypePresenceDescription and constraints
$objectRootAn image file to use in Square catalogs. It can be associated with
`CatalogItem`, `CatalogItemVariation`, `CatalogCategory`, and `CatalogModifierList` objects.
Only the images on items and item variations are exposed in Dashboard.
Only the first image on an item is displayed in Square Point of Sale (SPOS).
Images on items and variations are displayed through Square Online Store.
Images on other object types are for use by 3rd party application developers.
captionJSONOptional
caption (anyOf 1)stringAlternativeA caption that describes what is shown in the image. Displayed in the
Square Online Store. This is a searchable attribute for use in applicable query filters
using the [SearchCatalogObjects](api-endpoint:Catalog-SearchCatalogObjects).
caption (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeThe internal name to identify this image in calls to the Square API.
This is a searchable attribute for use in applicable query filters
using the [SearchCatalogObjects](api-endpoint:Catalog-SearchCatalogObjects).
It is not unique and should not be shown in a buyer facing context.
name (anyOf 2)nullAlternative
photo_studio_order_idJSONOptional
photo_studio_order_id (anyOf 1)stringAlternativeThe immutable order ID for this image object created by the Photo Studio service in Square Online Store.
photo_studio_order_id (anyOf 2)nullAlternative
urlJSONOptional
url (anyOf 1)stringAlternativeThe URL of this image, generated by Square after an image is uploaded
using the [CreateCatalogImage](api-endpoint:Catalog-CreateCatalogImage) endpoint.
To modify the image, use the UpdateCatalogImage endpoint. Do not change the URL field.
url (anyOf 2)nullAlternative

Create Catalog Image — response body — image item data abbreviation, buyer facing name, categories, category id, channels, description, description html, description plaintext, ecom image uris, ecom seo data, ecom uri, food and beverage details, image ids, is alcoholic, is archived, is taxable, item options, kitchen name, label color, modifier list info, name, product type, reporting category, skip modifier screen, sort name, tax ids, variations

FieldTypePresenceDescription and constraints
$objectRootA [CatalogObject](entity:CatalogObject) instance of the `ITEM` type, also referred to as an item, in the catalog.
abbreviationJSONOptional
abbreviation (anyOf 1)stringAlternativeThe text of the item's display label in the Square Point of Sale app. Only up to the first five characters of the string are used.
This attribute is searchable, and its value length is of Unicode code points.
Maximum length: 24
abbreviation (anyOf 2)nullAlternative
buyer_facing_nameJSONOptional
buyer_facing_name (anyOf 1)stringAlternativeThe override to a product name to display to users
Maximum length: 512
buyer_facing_name (anyOf 2)nullAlternative
categoriesJSONOptional
categories (anyOf 1)arrayAlternativeThe list of categories to which this item belongs. Each entry includes the category ID and an ordinal
value that determines the item's relative position within that category.
categories (anyOf 1)[]ModelEach itemExpand Create Catalog Image — response body — image category data availability period ids, category type, channels, ecom seo data, image ids, is top level, name, online visibility, parent category, path to root, root category parent category id, ordinal
categories (anyOf 2)nullAlternative
category_idJSONOptional
category_id (anyOf 1)stringAlternativeThe ID of the item's category, if any. Deprecated since 2023-12-13. Use `CatalogItem.categories`, instead.
category_id (anyOf 2)nullAlternative
channelsJSONOptional
channels (anyOf 1)arrayAlternativeA list of IDs representing channels, such as a Square Online site, where the item can be made visible or available.
This field is read only and cannot be edited.
channels (anyOf 1)[]stringEach item
channels (anyOf 2)nullAlternative
descriptionJSONOptional
description (anyOf 1)stringAlternativeThe item's description. This is a searchable attribute for use in applicable query filters, and its value length is of Unicode code points.

Deprecated at 2022-07-20, this field is planned to retire in 6 months. You should migrate to use `description_html` to set the description
of the [CatalogItem](entity:CatalogItem) instance. The `description` and `description_html` field values are kept in sync. If you try to
set the both fields, the `description_html` text value overwrites the `description` value. Updates in one field are also reflected in the other,
except for when you use an early version before Square API 2022-07-20 and `description_html` is set to blank, setting the `description` value to null
does not nullify `description_html`.
Maximum length: 4096
description (anyOf 2)nullAlternative
description_htmlJSONOptional
description_html (anyOf 1)stringAlternativeThe item's description as expressed in valid HTML elements. The length of this field value, including those of HTML tags,
is of Unicode points. With application query filters, the text values of the HTML elements and attributes are searchable. Invalid or
unsupported HTML elements or attributes are ignored.

Supported HTML elements include:
- `a`: Link. Supports linking to website URLs, email address, and telephone numbers.
- `b`, `strong`: Bold text
- `br`: Line break
- `code`: Computer code
- `div`: Section
- `h1-h6`: Headings
- `i`, `em`: Italics
- `li`: List element
- `ol`: Numbered list
- `p`: Paragraph
- `ul`: Bullet list
- `u`: Underline


Supported HTML attributes include:
- `align`: Alignment of the text content
- `href`: Link destination
- `rel`: Relationship between link's target and source
- `target`: Place to open the linked document
Maximum length: 65535
description_html (anyOf 2)nullAlternative
description_plaintextstringOptionalA server-generated plaintext version of the `description_html` field, without formatting tags.
Maximum length: 65535
Read only: true
ecom_image_urisJSONOptional
ecom_image_uris (anyOf 1)arrayAlternativeDeprecated. A comma-separated list of encoded URIs pointing to a set of published e-commerce images for the Item.
ecom_image_uris (anyOf 1)[]stringEach item
ecom_image_uris (anyOf 2)nullAlternative
ecom_seo_dataJSONOptional
ecom_seo_data (anyOf 1)ModelAlternativeExpand Create Catalog Image — response body — image category data availability period ids, category type, channels, ecom seo data, image ids, is top level, name, online visibility, parent category, path to root, root category ecom seo data SEO data for for a seller's Square Online store
The SEO data for a seller's Square Online store.
ecom_seo_data (anyOf 2)nullAlternative
ecom_uriJSONOptional
ecom_uri (anyOf 1)stringAlternativeDeprecated. A URI pointing to a published e-commerce product page for the Item.
ecom_uri (anyOf 2)nullAlternative
food_and_beverage_detailsJSONOptional
food_and_beverage_details (anyOf 1)ModelAlternativeExpand Create Catalog Image — response body — image item data abbreviation, buyer facing name, categories, category id, channels, description, description html, description plaintext, ecom image uris, ecom seo data, ecom uri, food and beverage details, image ids, is alcoholic, is archived, is taxable, item options, kitchen name, label color, modifier list info, name, product type, reporting category, skip modifier screen, sort name, tax ids, variations food and beverage details calorie count, dietary preferences, ingredients
The food and beverage-specific details for the `FOOD_AND_BEV` item.
food_and_beverage_details (anyOf 2)nullAlternative
image_idsJSONOptional
image_ids (anyOf 1)arrayAlternativeThe IDs of images associated with this `CatalogItem` instance.
These images will be shown to customers in Square Online Store.
The first image will show up as the icon for this item in POS.
image_ids (anyOf 1)[]stringEach item
image_ids (anyOf 2)nullAlternative
is_alcoholicJSONOptional
is_alcoholic (anyOf 1)booleanAlternativeIndicates whether this item is alcoholic (`true`) or not (`false`).
is_alcoholic (anyOf 2)nullAlternative
is_archivedJSONOptional
is_archived (anyOf 1)booleanAlternativeIndicates whether this item is archived (`true`) or not (`false`).
is_archived (anyOf 2)nullAlternative
is_taxableJSONOptional
is_taxable (anyOf 1)booleanAlternativeIndicates whether the item is taxable (`true`) or non-taxable (`false`). Default is `true`.
is_taxable (anyOf 2)nullAlternative
item_optionsJSONOptional
item_options (anyOf 1)arrayAlternativeList of item options IDs for this item. Used to manage and group item
variations in a specified order.

Maximum: 6 item options.
item_options (anyOf 1)[]ModelEach itemExpand Create Catalog Image — response body — image item data abbreviation, buyer facing name, categories, category id, channels, description, description html, description plaintext, ecom image uris, ecom seo data, ecom uri, food and beverage details, image ids, is alcoholic, is archived, is taxable, item options, kitchen name, label color, modifier list info, name, product type, reporting category, skip modifier screen, sort name, tax ids, variations item options array item
item_options (anyOf 2)nullAlternative
kitchen_nameJSONOptional
kitchen_name (anyOf 1)stringAlternative(Optional) Name that the restaurant wants to display to their kitchen workers
instead of the customer-facing name.
e.g., customer name might be "Big John's Mega Burger" and the
kitchen name is "12oz beef burger"
kitchen_name (anyOf 2)nullAlternative
label_colorJSONOptional
label_color (anyOf 1)stringAlternativeThe color of the item's display label in the Square Point of Sale app. This must be a valid hex color code.
label_color (anyOf 2)nullAlternative
modifier_list_infoJSONOptional
modifier_list_info (anyOf 1)arrayAlternativeA set of `CatalogItemModifierListInfo` objects
representing the modifier lists that apply to this item, along with the overrides and min
and max limits that are specific to this item. Modifier lists
may also be added to or deleted from an item using `UpdateItemModifierLists`.
modifier_list_info (anyOf 1)[]ModelEach itemExpand Create Catalog Image — response body — image item data abbreviation, buyer facing name, categories, category id, channels, description, description html, description plaintext, ecom image uris, ecom seo data, ecom uri, food and beverage details, image ids, is alcoholic, is archived, is taxable, item options, kitchen name, label color, modifier list info, name, product type, reporting category, skip modifier screen, sort name, tax ids, variations modifier list info A set of `Catalog Item Modifier List Info` objects item
modifier_list_info (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeThe item's name. This is a searchable attribute for use in applicable query filters, its value must not be empty, and the length is of Unicode code points.
Maximum length: 512
name (anyOf 2)nullAlternative
product_typeJSONOptional
product_type (anyOf 1)stringAlternativeThe type of a CatalogItem. Connect V2 only allows the creation of `REGULAR` or `APPOINTMENTS_SERVICE` items.
The product type of the item. Once set, the `product_type` value cannot be modified.

Items of the `LEGACY_SQUARE_ONLINE_SERVICE` and `LEGACY_SQUARE_ONLINE_MEMBERSHIP` product types can be updated
but cannot be created using the API.
See [CatalogItemProductType](#type-catalogitemproducttype) for possible values
Known values: REGULAR, GIFT_CARD, APPOINTMENTS_SERVICE, FOOD_AND_BEV, EVENT, DIGITAL, DONATION, LEGACY_SQUARE_ONLINE_SERVICE, LEGACY_SQUARE_ONLINE_MEMBERSHIP
product_type (anyOf 2)nullAlternative
reporting_categoryJSONOptional
reporting_category (anyOf 1)ModelAlternativeExpand Create Catalog Image — response body — image category data availability period ids, category type, channels, ecom seo data, image ids, is top level, name, online visibility, parent category, path to root, root category parent category id, ordinal
The item's reporting category.
reporting_category (anyOf 2)nullAlternative
skip_modifier_screenJSONOptional
skip_modifier_screen (anyOf 1)booleanAlternativeIf `false`, the Square Point of Sale app will present the `CatalogItem`'s
details screen immediately, allowing the merchant to choose `CatalogModifier`s
before adding the item to the cart. This is the default behavior.

If `true`, the Square Point of Sale app will immediately add the item to the cart with the pre-selected
modifiers, and merchants can edit modifiers by drilling down onto the item's details.

Third-party clients are encouraged to implement similar behaviors.
skip_modifier_screen (anyOf 2)nullAlternative
sort_nameJSONOptional
sort_name (anyOf 1)stringAlternativeA name to sort the item by. If this name is unspecified, namely, the `sort_name` field is absent, the regular `name` field is used for sorting.
Its value must not be empty.

It is currently supported for sellers of the Japanese locale only.
sort_name (anyOf 2)nullAlternative
tax_idsJSONOptional
tax_ids (anyOf 1)arrayAlternativeA set of IDs indicating the taxes enabled for
this item. When updating an item, any taxes listed here will be added to the item.
Taxes may also be added to or deleted from an item using `UpdateItemTaxes`.
tax_ids (anyOf 1)[]stringEach item
tax_ids (anyOf 2)nullAlternative
variationsJSONOptional
variations (anyOf 1)arrayAlternativeA list of [CatalogItemVariation](entity:CatalogItemVariation) objects for this item. An item must have
at least one variation.
variations (anyOf 1)[]ModelEach itemExpand Create Catalog Image — response body — image
variations (anyOf 2)nullAlternative

Referenced models: Create Catalog Image — response body — image category data availability period ids, category type, channels, ecom seo data, image ids, is top level, name, online visibility, parent category, path to root, root category ecom seo data SEO data for for a seller's Square Online store, Create Catalog Image — response body — image item data abbreviation, buyer facing name, categories, category id, channels, description, description html, description plaintext, ecom image uris, ecom seo data, ecom uri, food and beverage details, image ids, is alcoholic, is archived, is taxable, item options, kitchen name, label color, modifier list info, name, product type, reporting category, skip modifier screen, sort name, tax ids, variations item options array item, Create Catalog Image — response body — image item data abbreviation, buyer facing name, categories, category id, channels, description, description html, description plaintext, ecom image uris, ecom seo data, ecom uri, food and beverage details, image ids, is alcoholic, is archived, is taxable, item options, kitchen name, label color, modifier list info, name, product type, reporting category, skip modifier screen, sort name, tax ids, variations food and beverage details calorie count, dietary preferences, ingredients, Create Catalog Image — response body — image item data abbreviation, buyer facing name, categories, category id, channels, description, description html, description plaintext, ecom image uris, ecom seo data, ecom uri, food and beverage details, image ids, is alcoholic, is archived, is taxable, item options, kitchen name, label color, modifier list info, name, product type, reporting category, skip modifier screen, sort name, tax ids, variations modifier list info A set of `Catalog Item Modifier List Info` objects item, Create Catalog Image — response body — image, Create Catalog Image — response body — image category data availability period ids, category type, channels, ecom seo data, image ids, is top level, name, online visibility, parent category, path to root, root category parent category id, ordinal

Create Catalog Image — response body — image item data abbreviation, buyer facing name, categories, category id, channels, description, description html, description plaintext, ecom image uris, ecom seo data, ecom uri, food and beverage details, image ids, is alcoholic, is archived, is taxable, item options, kitchen name, label color, modifier list info, name, product type, reporting category, skip modifier screen, sort name, tax ids, variations food and beverage details calorie count, dietary preferences, ingredients

FieldTypePresenceDescription and constraints
$objectRootThe food and beverage-specific details of a `FOOD_AND_BEV` item.
calorie_countJSONOptional
calorie_count (anyOf 1)JSONAlternative
calorie_count (anyOf 1) (anyOf 1)integerAlternativeThe calorie count (in the unit of kcal) for the `FOOD_AND_BEV` type of items.
calorie_count (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
calorie_count (anyOf 2)nullAlternative
dietary_preferencesJSONOptional
dietary_preferences (anyOf 1)arrayAlternativeThe dietary preferences for the `FOOD_AND_BEV` item.
dietary_preferences (anyOf 1)[]ModelEach itemExpand Create Catalog Image — response body — image item data abbreviation, buyer facing name, categories, category id, channels, description, description html, description plaintext, ecom image uris, ecom seo data, ecom uri, food and beverage details, image ids, is alcoholic, is archived, is taxable, item options, kitchen name, label color, modifier list info, name, product type, reporting category, skip modifier screen, sort name, tax ids, variations food and beverage details calorie count, dietary preferences, ingredients dietary preferences array item
dietary_preferences (anyOf 2)nullAlternative
ingredientsJSONOptional
ingredients (anyOf 1)arrayAlternativeThe ingredients for the `FOOD_AND_BEV` type item.
ingredients (anyOf 1)[]ModelEach itemExpand Create Catalog Image — response body — image item data abbreviation, buyer facing name, categories, category id, channels, description, description html, description plaintext, ecom image uris, ecom seo data, ecom uri, food and beverage details, image ids, is alcoholic, is archived, is taxable, item options, kitchen name, label color, modifier list info, name, product type, reporting category, skip modifier screen, sort name, tax ids, variations food and beverage details calorie count, dietary preferences, ingredients ingredients The ingredients for the `FOOD AND BEV` type item item
ingredients (anyOf 2)nullAlternative

Referenced models: Create Catalog Image — response body — image item data abbreviation, buyer facing name, categories, category id, channels, description, description html, description plaintext, ecom image uris, ecom seo data, ecom uri, food and beverage details, image ids, is alcoholic, is archived, is taxable, item options, kitchen name, label color, modifier list info, name, product type, reporting category, skip modifier screen, sort name, tax ids, variations food and beverage details calorie count, dietary preferences, ingredients dietary preferences array item, Create Catalog Image — response body — image item data abbreviation, buyer facing name, categories, category id, channels, description, description html, description plaintext, ecom image uris, ecom seo data, ecom uri, food and beverage details, image ids, is alcoholic, is archived, is taxable, item options, kitchen name, label color, modifier list info, name, product type, reporting category, skip modifier screen, sort name, tax ids, variations food and beverage details calorie count, dietary preferences, ingredients ingredients The ingredients for the `FOOD AND BEV` type item item

Create Catalog Image — response body — image item data abbreviation, buyer facing name, categories, category id, channels, description, description html, description plaintext, ecom image uris, ecom seo data, ecom uri, food and beverage details, image ids, is alcoholic, is archived, is taxable, item options, kitchen name, label color, modifier list info, name, product type, reporting category, skip modifier screen, sort name, tax ids, variations food and beverage details calorie count, dietary preferences, ingredients dietary preferences array item

FieldTypePresenceDescription and constraints
$objectRootDietary preferences that can be assigned to an `FOOD_AND_BEV` item and its ingredients.
custom_nameJSONOptional
custom_name (anyOf 1)stringAlternativeThe name of a user-defined custom dietary preference. This should be null if it's a standard dietary preference.
custom_name (anyOf 2)nullAlternative
standard_nameJSONOptional
standard_name (anyOf 1)stringAlternativeStandard dietary preferences for food and beverage items that are recommended on item creation.
The name of the dietary preference from a standard pre-defined list. This should be null if it's a custom dietary preference.
See [StandardDietaryPreference](#type-standarddietarypreference) for possible values
Known values: DAIRY_FREE, GLUTEN_FREE, HALAL, KOSHER, NUT_FREE, VEGAN, VEGETARIAN
standard_name (anyOf 2)nullAlternative
typeJSONOptional
type (anyOf 1)stringAlternativeThe type of dietary preference for the `FOOD_AND_BEV` type of items and integredients.
The dietary preference type. Supported values include `STANDARD` and `CUSTOM` as specified in `FoodAndBeverageDetails.DietaryPreferenceType`.
See [DietaryPreferenceType](#type-dietarypreferencetype) for possible values
Known values: STANDARD, CUSTOM
type (anyOf 2)nullAlternative

Create Catalog Image — response body — image item data abbreviation, buyer facing name, categories, category id, channels, description, description html, description plaintext, ecom image uris, ecom seo data, ecom uri, food and beverage details, image ids, is alcoholic, is archived, is taxable, item options, kitchen name, label color, modifier list info, name, product type, reporting category, skip modifier screen, sort name, tax ids, variations food and beverage details calorie count, dietary preferences, ingredients ingredients The ingredients for the `FOOD AND BEV` type item item

FieldTypePresenceDescription and constraints
$objectRootDescribes the ingredient used in a `FOOD_AND_BEV` item.
custom_nameJSONOptional
custom_name (anyOf 1)stringAlternativeThe name of a custom user-defined ingredient. This should be null if it's a standard dietary preference.
custom_name (anyOf 2)nullAlternative
standard_nameJSONOptional
standard_name (anyOf 1)stringAlternativeStandard ingredients for food and beverage items that are recommended on item creation.
The name of the ingredient from a standard pre-defined list. This should be null if it's a custom dietary preference.
See [StandardIngredient](#type-standardingredient) for possible values
Known values: CELERY, CRUSTACEANS, EGGS, FISH, GLUTEN, LUPIN, MILK, MOLLUSCS, MUSTARD, PEANUTS, SESAME, SOY, SULPHITES, TREE_NUTS
standard_name (anyOf 2)nullAlternative
typeJSONOptional
type (anyOf 1)stringAlternativeThe type of dietary preference for the `FOOD_AND_BEV` type of items and integredients.
The dietary preference type of the ingredient. Supported values include `STANDARD` and `CUSTOM` as specified in `FoodAndBeverageDetails.DietaryPreferenceType`.
See [DietaryPreferenceType](#type-dietarypreferencetype) for possible values
Known values: STANDARD, CUSTOM
type (anyOf 2)nullAlternative

Create Catalog Image — response body — image item data abbreviation, buyer facing name, categories, category id, channels, description, description html, description plaintext, ecom image uris, ecom seo data, ecom uri, food and beverage details, image ids, is alcoholic, is archived, is taxable, item options, kitchen name, label color, modifier list info, name, product type, reporting category, skip modifier screen, sort name, tax ids, variations item options array item

FieldTypePresenceDescription and constraints
$objectRootAn option that can be assigned to an item.
For example, a t-shirt item may offer a color option or a size option.
item_option_idJSONOptional
item_option_id (anyOf 1)stringAlternativeThe unique id of the item option, used to form the dimensions of the item option matrix in a specified order.
item_option_id (anyOf 2)nullAlternative

Create Catalog Image — response body — image item data abbreviation, buyer facing name, categories, category id, channels, description, description html, description plaintext, ecom image uris, ecom seo data, ecom uri, food and beverage details, image ids, is alcoholic, is archived, is taxable, item options, kitchen name, label color, modifier list info, name, product type, reporting category, skip modifier screen, sort name, tax ids, variations modifier list info A set of `Catalog Item Modifier List Info` objects item

FieldTypePresenceDescription and constraints
$objectRootControls how a modifier list is applied to a specific item. This object allows for item-specific customization of modifier list behavior
and provides the ability to override global modifier list settings.
allow_quantitiesJSONOptional
allow_quantities (anyOf 1)stringAlternativeItem level overrides for bool attributes
Controls whether multiple quantities of the same modifier can be selected for this item.
- `YES` means that every modifier in the `CatalogModifierList` can have multiple quantities
selected for this item.
- `NO` means that each modifier in the `CatalogModifierList` can be selected only once for this item.
- `NOT_SET` means that the `allow_quantities` setting on the `CatalogModifierList` is obeyed.
See [CatalogModifierToggleOverrideType](#type-catalogmodifiertoggleoverridetype) for possible values
Known values: NO, YES, NOT_SET
allow_quantities (anyOf 2)nullAlternative
enabledJSONOptional
enabled (anyOf 1)booleanAlternativeIf `true`, enable this `CatalogModifierList`. The default value is `true`.
enabled (anyOf 2)nullAlternative
hidden_from_customer_overrideJSONOptional
hidden_from_customer_override (anyOf 1)stringAlternativeItem level overrides for bool attributes
Controls whether all modifiers for this item are hidden from customer receipts.
- `YES` means that all modifiers in the `CatalogModifierList` are hidden from customer
receipts for this item.
- `NO` means that all modifiers in the `CatalogModifierList` are visible on customer receipts for this item.
- `NOT_SET` means that the `hidden_from_customer` setting on the `CatalogModifierList` is obeyed.
See [CatalogModifierToggleOverrideType](#type-catalogmodifiertoggleoverridetype) for possible values
Known values: NO, YES, NOT_SET
hidden_from_customer_override (anyOf 2)nullAlternative
is_conversationalJSONOptional
is_conversational (anyOf 1)stringAlternativeItem level overrides for bool attributes
Controls whether conversational mode is enabled for modifiers on this item.

- `YES` means conversational mode is enabled for every modifier in the `CatalogModifierList`.
- `NO` means that conversational mode is not enabled for any modifier in the `CatalogModifierList`.
- `NOT_SET` means that conversational mode is not enabled for any modifier in the `CatalogModifierList`.
See [CatalogModifierToggleOverrideType](#type-catalogmodifiertoggleoverridetype) for possible values
Known values: NO, YES, NOT_SET
is_conversational (anyOf 2)nullAlternative
max_selected_modifiersJSONOptional
max_selected_modifiers (anyOf 1)JSONAlternative
max_selected_modifiers (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of modifiers that can be selected.
Values:

- 0: No maximum limit.
- -1: Default value, the attribute was not set by the client. When `min_selected_modifiers` is
also -1, use the minimum and maximum selection values set on the `CatalogItemModifierList`.
- &gt;0: The maximum total modifier selections. This can be larger than the total `CatalogModifiers` when `allow_quantities` is enabled.
- &lt; -1: Invalid. Treated as no maximum limit.
max_selected_modifiers (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
max_selected_modifiers (anyOf 2)nullAlternative
min_selected_modifiersJSONOptional
min_selected_modifiers (anyOf 1)JSONAlternative
min_selected_modifiers (anyOf 1) (anyOf 1)integerAlternativeThe minimum number of modifiers that must be selected from this modifier list.
Values:

- 0: No selection is required.
- -1: Default value, the attribute was not set by the client. When `max_selected_modifiers` is
also -1, use the minimum and maximum selection values set on the `CatalogItemModifierList`.
- &gt;0: The required minimum modifier selections. This can be larger than the total `CatalogModifiers` when `allow_quantities` is enabled.
- &lt; -1: Invalid. Treated as no selection required.
min_selected_modifiers (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
min_selected_modifiers (anyOf 2)nullAlternative
modifier_list_idstringRequired within parentThe ID of the `CatalogModifierList` controlled by this `CatalogModifierListInfo`.
Minimum length: 1
modifier_overridesJSONOptional
modifier_overrides (anyOf 1)arrayAlternativeA set of `CatalogModifierOverride` objects that override default modifier settings for this item.
modifier_overrides (anyOf 1)[]ModelEach itemExpand Create Catalog Image — response body — image item data abbreviation, buyer facing name, categories, category id, channels, description, description html, description plaintext, ecom image uris, ecom seo data, ecom uri, food and beverage details, image ids, is alcoholic, is archived, is taxable, item options, kitchen name, label color, modifier list info, name, product type, reporting category, skip modifier screen, sort name, tax ids, variations modifier list info A set of `Catalog Item Modifier List Info` objects item modifier overrides array item
modifier_overrides (anyOf 2)nullAlternative
ordinalJSONOptional
ordinal (anyOf 1)JSONAlternative
ordinal (anyOf 1) (anyOf 1)integerAlternativeThe position of this `CatalogItemModifierListInfo` object within the `modifier_list_info` list applied
to a `CatalogItem` instance.
ordinal (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
ordinal (anyOf 2)nullAlternative

Referenced models: Create Catalog Image — response body — image item data abbreviation, buyer facing name, categories, category id, channels, description, description html, description plaintext, ecom image uris, ecom seo data, ecom uri, food and beverage details, image ids, is alcoholic, is archived, is taxable, item options, kitchen name, label color, modifier list info, name, product type, reporting category, skip modifier screen, sort name, tax ids, variations modifier list info A set of `Catalog Item Modifier List Info` objects item modifier overrides array item

Create Catalog Image — response body — image item data abbreviation, buyer facing name, categories, category id, channels, description, description html, description plaintext, ecom image uris, ecom seo data, ecom uri, food and beverage details, image ids, is alcoholic, is archived, is taxable, item options, kitchen name, label color, modifier list info, name, product type, reporting category, skip modifier screen, sort name, tax ids, variations modifier list info A set of `Catalog Item Modifier List Info` objects item modifier overrides array item

FieldTypePresenceDescription and constraints
$objectRootOptions to control how to override the default behavior of the specified modifier.
hidden_online_overrideJSONOptional
hidden_online_override (anyOf 1)stringAlternativeItem level overrides for bool attributes
If `YES`, this setting overrides the `hidden_online` setting on the `CatalogModifier` object,
and the modifier is always hidden from online sales channels.
If `NO`, the modifier is not hidden. It is always visible in online sales channels for this catalog item.
`NOT_SET` means the `hidden_online` setting on the `CatalogModifier` object is obeyed.
See [CatalogModifierToggleOverrideType](#type-catalogmodifiertoggleoverridetype) for possible values
Known values: NO, YES, NOT_SET
hidden_online_override (anyOf 2)nullAlternative
modifier_idstringRequired within parentThe ID of the `CatalogModifier` whose default behavior is being overridden.
Minimum length: 1
on_by_defaultJSONOptional
on_by_default (anyOf 1)booleanAlternative__Deprecated__: Use `on_by_default_override` instead.
on_by_default (anyOf 2)nullAlternative
on_by_default_overrideJSONOptional
on_by_default_override (anyOf 1)stringAlternativeItem level overrides for bool attributes
If `YES`, this setting overrides the `on_by_default` setting on the `CatalogModifier` object,
and the modifier is always selected by default for the catalog item.

If `NO`, the modifier is not selected by default for this catalog item.
`NOT_SET` means the `on_by_default` setting on the `CatalogModifier` object is obeyed.
See [CatalogModifierToggleOverrideType](#type-catalogmodifiertoggleoverridetype) for possible values
Known values: NO, YES, NOT_SET
on_by_default_override (anyOf 2)nullAlternative

Create Catalog Image — response body — image item option data A group of variations for a `Catalog Item`

FieldTypePresenceDescription and constraints
$objectRootA group of variations for a `CatalogItem`.
descriptionJSONOptional
description (anyOf 1)stringAlternativeThe item option's human-readable description. Displayed in the Square
Point of Sale app for the seller and in the Online Store or on receipts for
the buyer. This is a searchable attribute for use in applicable query filters.
description (anyOf 2)nullAlternative
display_nameJSONOptional
display_name (anyOf 1)stringAlternativeThe item option's display name for the customer. This is a searchable attribute for use in applicable query filters.
display_name (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeThe item option's display name for the seller. Must be unique across
all item options. This is a searchable attribute for use in applicable query filters.
name (anyOf 2)nullAlternative
show_colorsJSONOptional
show_colors (anyOf 1)booleanAlternativeIf true, display colors for entries in `values` when present.
show_colors (anyOf 2)nullAlternative
valuesJSONOptional
values (anyOf 1)arrayAlternativeA list of CatalogObjects containing the
`CatalogItemOptionValue`s for this item.
values (anyOf 1)[]ModelEach itemExpand Create Catalog Image — response body — image
values (anyOf 2)nullAlternative

Referenced models: Create Catalog Image — response body — image

Create Catalog Image — response body — image item option value data An enumerated value that can link a

FieldTypePresenceDescription and constraints
$objectRootAn enumerated value that can link a
`CatalogItemVariation` to an item option as one of
its item option values.
colorJSONOptional
color (anyOf 1)stringAlternativeThe HTML-supported hex color for the item option (e.g., "#ff8d4e85").
Only displayed if `show_colors` is enabled on the parent `ItemOption`. When
left unset, `color` defaults to white ("#ffffff") when `show_colors` is
enabled on the parent `ItemOption`.
color (anyOf 2)nullAlternative
descriptionJSONOptional
description (anyOf 1)stringAlternativeA human-readable description for the option value. This is a searchable attribute for use in applicable query filters.
description (anyOf 2)nullAlternative
item_option_idJSONOptional
item_option_id (anyOf 1)stringAlternativeUnique ID of the associated item option.
item_option_id (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeName of this item option value. This is a searchable attribute for use in applicable query filters.
name (anyOf 2)nullAlternative
ordinalJSONOptional
ordinal (anyOf 1)JSONAlternative
ordinal (anyOf 1) (anyOf 1)integerAlternativeDetermines where this option value appears in a list of option values.
ordinal (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
ordinal (anyOf 2)nullAlternative

Create Catalog Image — response body — image item variation data available for booking, image ids, inventory alert threshold, inventory alert type, item id, item option values, kitchen name, location overrides, measurement unit id, name, ordinal, price money, pricing type, sellable, service duration, sku, stockable, stockable conversion, team member ids, track inventory, upc, user data, vendor information

FieldTypePresenceDescription and constraints
$objectRootAn item variation, representing a product for sale, in the Catalog object model. Each [item](entity:CatalogItem) must have at least one
item variation and can have at most 250 item variations.

An item variation can be sellable, stockable, or both if it has a unit of measure for its count for the sold number of the variation, the stocked
number of the variation, or both. For example, when a variation representing wine is stocked and sold by the bottle, the variation is both
stockable and sellable. But when a variation of the wine is sold by the glass, the sold units cannot be used as a measure of the stocked units. This by-the-glass
variation is sellable, but not stockable. To accurately keep track of the wine's inventory count at any time, the sellable count must be
converted to stockable count. Typically, the seller defines this unit conversion. For example, 1 bottle equals 5 glasses. The Square API exposes
the `stockable_conversion` property on the variation to specify the conversion. Thus, when two glasses of the wine are sold, the sellable count
decreases by 2, and the stockable count automatically decreases by 0.4 bottle according to the conversion.
available_for_bookingJSONOptional
available_for_booking (anyOf 1)booleanAlternativeIf the `CatalogItem` that owns this item variation is of type
`APPOINTMENTS_SERVICE`, a bool representing whether this service is available for booking.
available_for_booking (anyOf 2)nullAlternative
image_idsJSONOptional
image_ids (anyOf 1)arrayAlternativeThe IDs of images associated with this `CatalogItemVariation` instance.
These images will be shown to customers in Square Online Store.
image_ids (anyOf 1)[]stringEach item
image_ids (anyOf 2)nullAlternative
inventory_alert_thresholdJSONOptional
inventory_alert_threshold (anyOf 1)JSONAlternative
inventory_alert_threshold (anyOf 1) (anyOf 1)integerAlternativeIf the inventory quantity for the variation is less than or equal to this value and `inventory_alert_type`
is `LOW_QUANTITY`, the variation displays an alert in the merchant dashboard. This value is always an integer.

Deprecated because this field has never been global.
Format: int64
inventory_alert_threshold (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
inventory_alert_threshold (anyOf 2)nullAlternative
inventory_alert_typeJSONOptional
inventory_alert_type (anyOf 1)stringAlternativeIndicates whether Square should alert the merchant when the inventory quantity of a CatalogItemVariation is low.
Indicates whether the item variation displays an alert when its inventory quantity is less than or equal
to its `inventory_alert_threshold`.

Deprecated because this field has never been global.
See [InventoryAlertType](#type-inventoryalerttype) for possible values
Known values: NONE, LOW_QUANTITY
inventory_alert_type (anyOf 2)nullAlternative
item_idJSONOptional
item_id (anyOf 1)stringAlternativeThe ID of the `CatalogItem` associated with this item variation.
item_id (anyOf 2)nullAlternative
item_option_valuesJSONOptional
item_option_values (anyOf 1)arrayAlternativeList of item option values associated with this item variation. Listed
in the same order as the item options of the parent item.
item_option_values (anyOf 1)[]ModelEach itemExpand Create Catalog Image — response body — image item variation data available for booking, image ids, inventory alert threshold, inventory alert type, item id, item option values, kitchen name, location overrides, measurement unit id, name, ordinal, price money, pricing type, sellable, service duration, sku, stockable, stockable conversion, team member ids, track inventory, upc, user data, vendor information item option values array item
item_option_values (anyOf 2)nullAlternative
kitchen_nameJSONOptional
kitchen_name (anyOf 1)stringAlternative(Optional) Name that the restaurant wants to display to their kitchen workers
instead of the customer-facing name.
e.g., customer name might be "Mega-Jumbo Triplesized" and the
kitchen name is "Large container"
kitchen_name (anyOf 2)nullAlternative
location_overridesJSONOptional
location_overrides (anyOf 1)arrayAlternativePer-location price and inventory overrides.
location_overrides (anyOf 1)[]ModelEach itemExpand Create Catalog Image — response body — image item variation data available for booking, image ids, inventory alert threshold, inventory alert type, item id, item option values, kitchen name, location overrides, measurement unit id, name, ordinal, price money, pricing type, sellable, service duration, sku, stockable, stockable conversion, team member ids, track inventory, upc, user data, vendor information location overrides Per-location price and inventory overrides item
location_overrides (anyOf 2)nullAlternative
measurement_unit_idJSONOptional
measurement_unit_id (anyOf 1)stringAlternativeID of the ‘CatalogMeasurementUnit’ that is used to measure the quantity
sold of this item variation. If left unset, the item will be sold in
whole quantities.
measurement_unit_id (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeThe item variation's name. This is a searchable attribute for use in applicable query filters.

Its value has a maximum length of 255 Unicode code points. However, when the parent [item](entity:CatalogItem)
uses [item options](entity:CatalogItemOption), this attribute is auto-generated, read-only, and can be
longer than 255 Unicode code points.
name (anyOf 2)nullAlternative
ordinalJSONOptional
ordinal (anyOf 1)integerAlternativeThe order in which this item variation should be displayed. This value is read-only. On writes, the ordinal
for each item variation within a parent `CatalogItem` is set according to the item variations's
position. On reads, the value is not guaranteed to be sequential or unique.
Read only: true
ordinal (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
price_moneyJSONOptional
price_money (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
The item variation's price, if fixed pricing is used.
price_money (anyOf 2)nullAlternative
pricing_typeJSONOptional
pricing_type (anyOf 1)stringAlternativeIndicates whether the price of a CatalogItemVariation should be entered manually at the time of sale.
Indicates whether the item variation's price is fixed or determined at the time
of sale.
See [CatalogPricingType](#type-catalogpricingtype) for possible values
Known values: FIXED_PRICING, VARIABLE_PRICING
pricing_type (anyOf 2)nullAlternative
sellableJSONOptional
sellable (anyOf 1)booleanAlternativeWhether this variation can be sold. The inventory count of a sellable variation indicates
the number of units available for sale. When a variation is both stockable and sellable,
its sellable inventory count can be smaller than or equal to its stockable count.
sellable (anyOf 2)nullAlternative
service_durationJSONOptional
service_duration (anyOf 1)JSONAlternative
service_duration (anyOf 1) (anyOf 1)integerAlternativeIf the `CatalogItem` that owns this item variation is of type
`APPOINTMENTS_SERVICE`, then this is the duration of the service in milliseconds. For
example, a 30 minute appointment would have the value `1800000`, which is equal to
30 (minutes) * 60 (seconds per minute) * 1000 (milliseconds per second).
Format: int64
service_duration (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
service_duration (anyOf 2)nullAlternative
skuJSONOptional
sku (anyOf 1)stringAlternativeThe item variation's SKU, if any. This is a searchable attribute for use in applicable query filters.
sku (anyOf 2)nullAlternative
stockableJSONOptional
stockable (anyOf 1)booleanAlternativeWhether stock is counted directly on this variation (TRUE) or only on its components (FALSE).
When a variation is both stockable and sellable, the inventory count of a stockable variation keeps track of the number of units of this variation in stock
and is not an indicator of the number of units of the variation that can be sold.
stockable (anyOf 2)nullAlternative
stockable_conversionJSONOptional
stockable_conversion (anyOf 1)ModelAlternativeExpand Create Catalog Image — response body — image item variation data available for booking, image ids, inventory alert threshold, inventory alert type, item id, item option values, kitchen name, location overrides, measurement unit id, name, ordinal, price money, pricing type, sellable, service duration, sku, stockable, stockable conversion, team member ids, track inventory, upc, user data, vendor information stockable conversion nonstockable quantity, stockable item variation id, stockable quantity
The unit conversion rule, as prescribed by the [CatalogStockConversion](entity:CatalogStockConversion) type,
that describes how this non-stockable (i.e., sellable/receivable) item variation is converted
to/from the stockable item variation sharing the same parent item. With the stock conversion,
you can accurately track inventory when an item variation is sold in one unit, but stocked in
another unit.
stockable_conversion (anyOf 2)nullAlternative
team_member_idsJSONOptional
team_member_ids (anyOf 1)arrayAlternativeTokens of employees that can perform the service represented by this variation. Only valid for
variations of type `APPOINTMENTS_SERVICE`.
team_member_ids (anyOf 1)[]stringEach item
team_member_ids (anyOf 2)nullAlternative
track_inventoryJSONOptional
track_inventory (anyOf 1)booleanAlternativeIf `true`, inventory tracking is active for the variation at all locations by default.
This value can be overridden for specific locations using `ItemVariationLocationOverrides.track_inventory`.
If unset at both levels, inventory tracking is disabled.
track_inventory (anyOf 2)nullAlternative
upcJSONOptional
upc (anyOf 1)stringAlternativeThe universal product code (UPC) of the item variation, if any. This is a searchable attribute for use in applicable query filters.

The value of this attribute should be a number of 12-14 digits long. This restriction is enforced on the Square Seller Dashboard,
Square Point of Sale or Retail Point of Sale apps, where this attribute shows in the GTIN field. If a non-compliant UPC value is assigned
to this attribute using the API, the value is not editable on the Seller Dashboard, Square Point of Sale or Retail Point of Sale apps
unless it is updated to fit the expected format.
upc (anyOf 2)nullAlternative
user_dataJSONOptional
user_data (anyOf 1)stringAlternativeArbitrary user metadata to associate with the item variation. This attribute value length is of Unicode code points.
Maximum length: 255
user_data (anyOf 2)nullAlternative
vendor_informationJSONOptional
vendor_information (anyOf 1)arrayAlternativeDetails of the vendor this product is purchased from.
This field can be set only if the seller has an active subscription
to either Square for Retail Premium or Square for Restaurants Premium.
vendor_information (anyOf 1)[]ModelEach itemExpand Create Catalog Image — response body — image item variation data available for booking, image ids, inventory alert threshold, inventory alert type, item id, item option values, kitchen name, location overrides, measurement unit id, name, ordinal, price money, pricing type, sellable, service duration, sku, stockable, stockable conversion, team member ids, track inventory, upc, user data, vendor information vendor information array item
vendor_information (anyOf 2)nullAlternative

Referenced models: Create Catalog Image — response body — image item variation data available for booking, image ids, inventory alert threshold, inventory alert type, item id, item option values, kitchen name, location overrides, measurement unit id, name, ordinal, price money, pricing type, sellable, service duration, sku, stockable, stockable conversion, team member ids, track inventory, upc, user data, vendor information item option values array item, Create Catalog Image — response body — image item variation data available for booking, image ids, inventory alert threshold, inventory alert type, item id, item option values, kitchen name, location overrides, measurement unit id, name, ordinal, price money, pricing type, sellable, service duration, sku, stockable, stockable conversion, team member ids, track inventory, upc, user data, vendor information stockable conversion nonstockable quantity, stockable item variation id, stockable quantity, Create Catalog Image — response body — image item variation data available for booking, image ids, inventory alert threshold, inventory alert type, item id, item option values, kitchen name, location overrides, measurement unit id, name, ordinal, price money, pricing type, sellable, service duration, sku, stockable, stockable conversion, team member ids, track inventory, upc, user data, vendor information vendor information array item, Create Catalog Image — response body — image item variation data available for booking, image ids, inventory alert threshold, inventory alert type, item id, item option values, kitchen name, location overrides, measurement unit id, name, ordinal, price money, pricing type, sellable, service duration, sku, stockable, stockable conversion, team member ids, track inventory, upc, user data, vendor information location overrides Per-location price and inventory overrides item, Pay Order — response body — order total money

Create Catalog Image — response body — image item variation data available for booking, image ids, inventory alert threshold, inventory alert type, item id, item option values, kitchen name, location overrides, measurement unit id, name, ordinal, price money, pricing type, sellable, service duration, sku, stockable, stockable conversion, team member ids, track inventory, upc, user data, vendor information item option values array item

FieldTypePresenceDescription and constraints
$objectRootA `CatalogItemOptionValue` links an item variation to an item option as
an item option value. For example, a t-shirt item may offer a color option and
a size option. An item option value would represent each variation of t-shirt:
For example, "Color:Red, Size:Small" or "Color:Blue, Size:Medium".
item_option_idJSONOptional
item_option_id (anyOf 1)stringAlternativeThe unique id of an item option.
item_option_id (anyOf 2)nullAlternative
item_option_value_idJSONOptional
item_option_value_id (anyOf 1)stringAlternativeThe unique id of the selected value for the item option.
item_option_value_id (anyOf 2)nullAlternative

Create Catalog Image — response body — image item variation data available for booking, image ids, inventory alert threshold, inventory alert type, item id, item option values, kitchen name, location overrides, measurement unit id, name, ordinal, price money, pricing type, sellable, service duration, sku, stockable, stockable conversion, team member ids, track inventory, upc, user data, vendor information location overrides Per-location price and inventory overrides item

FieldTypePresenceDescription and constraints
$objectRootPrice and inventory alerting overrides for a `CatalogItemVariation` at a specific `Location`.
inventory_alert_thresholdJSONOptional
inventory_alert_threshold (anyOf 1)JSONAlternative
inventory_alert_threshold (anyOf 1) (anyOf 1)integerAlternativeIf the inventory quantity for the variation is less than or equal to this value and `inventory_alert_type`
is `LOW_QUANTITY`, the variation displays an alert in the merchant dashboard.

This value is always an integer.
Format: int64
inventory_alert_threshold (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
inventory_alert_threshold (anyOf 2)nullAlternative
inventory_alert_typeJSONOptional
inventory_alert_type (anyOf 1)stringAlternativeIndicates whether Square should alert the merchant when the inventory quantity of a CatalogItemVariation is low.
Indicates whether the `CatalogItemVariation` displays an alert when its inventory
quantity is less than or equal to its `inventory_alert_threshold`.
See [InventoryAlertType](#type-inventoryalerttype) for possible values
Known values: NONE, LOW_QUANTITY
inventory_alert_type (anyOf 2)nullAlternative
location_idJSONOptional
location_id (anyOf 1)stringAlternativeThe ID of the `Location`. This can include locations that are deactivated.
location_id (anyOf 2)nullAlternative
price_moneyJSONOptional
price_money (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
The price of the `CatalogItemVariation` at the given `Location`, or blank for variable pricing.
price_money (anyOf 2)nullAlternative
pricing_typeJSONOptional
pricing_type (anyOf 1)stringAlternativeIndicates whether the price of a CatalogItemVariation should be entered manually at the time of sale.
The pricing type (fixed or variable) for the `CatalogItemVariation` at the given `Location`.
See [CatalogPricingType](#type-catalogpricingtype) for possible values
Known values: FIXED_PRICING, VARIABLE_PRICING
pricing_type (anyOf 2)nullAlternative
sold_outbooleanOptionalIndicates whether the overridden item variation is sold out at the specified location.

When inventory tracking is enabled on the item variation either globally or at the specified location,
the item variation is automatically marked as sold out when its inventory count reaches zero. The seller
can manually set the item variation as sold out even when the inventory count is greater than zero.
Attempts by an application to set this attribute are ignored. Regardless how the sold-out status is set,
applications should treat its inventory count as zero when this attribute value is `true`.
Read only: true
sold_out_valid_untilstringOptionalThe seller-assigned timestamp, of the RFC 3339 format, to indicate when this sold-out variation
becomes available again at the specified location. Attempts by an application to set this attribute are ignored.
When the current time is later than this attribute value, the affected item variation is no longer sold out.
Read only: true
track_inventoryJSONOptional
track_inventory (anyOf 1)booleanAlternativeIndicates whether inventory tracking is active for the `CatalogItemVariation` at this `Location`.
When set, this value explicitly overrides the global `track_inventory` setting. When unset, the location
should use the global value. If both global and location-level values are unset, inventory tracking is disabled.
track_inventory (anyOf 2)nullAlternative

Referenced models: Pay Order — response body — order total money

Create Catalog Image — response body — image item variation data available for booking, image ids, inventory alert threshold, inventory alert type, item id, item option values, kitchen name, location overrides, measurement unit id, name, ordinal, price money, pricing type, sellable, service duration, sku, stockable, stockable conversion, team member ids, track inventory, upc, user data, vendor information stockable conversion nonstockable quantity, stockable item variation id, stockable quantity

FieldTypePresenceDescription and constraints
$objectRootRepresents the rule of conversion between a stockable [CatalogItemVariation](entity:CatalogItemVariation)
and a non-stockable sell-by or receive-by `CatalogItemVariation` that
share the same underlying stock.
nonstockable_quantitystringRequired within parentThe converted equivalent quantity of the non-stockable [CatalogItemVariation](entity:CatalogItemVariation)
in its measurement unit. The `stockable_quantity` value and this `nonstockable_quantity` value together
define the conversion ratio between stockable item variation and the non-stockable item variation.
It accepts a decimal number in a string format that can take up to 10 digits before the decimal point
and up to 5 digits after the decimal point.
Maximum length: 16
Minimum length: 1
stockable_item_variation_idstringRequired within parentReferences to the stockable [CatalogItemVariation](entity:CatalogItemVariation)
for this stock conversion. Selling, receiving or recounting the non-stockable `CatalogItemVariation`
defined with a stock conversion results in adjustments of this stockable `CatalogItemVariation`.
This immutable field must reference a stockable `CatalogItemVariation`
that shares the parent [CatalogItem](entity:CatalogItem) of the converted `CatalogItemVariation.`
Minimum length: 1
stockable_quantitystringRequired within parentThe quantity of the stockable item variation (as identified by `stockable_item_variation_id`)
equivalent to the non-stockable item variation quantity (as specified in `nonstockable_quantity`)
as defined by this stock conversion. It accepts a decimal number in a string format that can take
up to 10 digits before the decimal point and up to 5 digits after the decimal point.
Maximum length: 16
Minimum length: 1

Create Catalog Image — response body — image item variation data available for booking, image ids, inventory alert threshold, inventory alert type, item id, item option values, kitchen name, location overrides, measurement unit id, name, ordinal, price money, pricing type, sellable, service duration, sku, stockable, stockable conversion, team member ids, track inventory, upc, user data, vendor information vendor information array item

FieldTypePresenceDescription and constraints
$objectRootInformation about the vendor of an item variation.
unit_cost_moneyJSONOptional
unit_cost_money (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
The unit cost of the linked product, when purchased from the linked vendor.
unit_cost_money (anyOf 2)nullAlternative
vendor_codeJSONOptional
vendor_code (anyOf 1)stringAlternativeUnique identifier of this product in the specified vendor's' inventory system.
When the product is added to a purchase order, the vendor code is pre-filled based
on the selected vendor.
vendor_code (anyOf 2)nullAlternative
vendor_idJSONOptional
vendor_id (anyOf 1)stringAlternativeID of the [Vendor](entity:Vendor) linked to a default cost of this product.
When the product is added to a purchase order, the default cost is pre-filled.
This field is not validated. Clients should gracefully handle cases where the vendor_id
does not match any existing vendor.
vendor_id (anyOf 2)nullAlternative

Referenced models: Pay Order — response body — order total money

Create Catalog Image — response body — image modifier data child modifier list ids, hidden online, image id, kitchen color, kitchen name, location overrides, modifier list id, name, on by default, ordinal, price money

FieldTypePresenceDescription and constraints
$objectRootA modifier that can be applied to items at the time of sale. For example, a cheese modifier for a burger, or a flavor modifier for a serving of ice cream.
child_modifier_list_idsJSONOptional
child_modifier_list_ids (anyOf 1)arrayAlternativeChild `CatalogModifierList`s that this `CatalogModifier` nests for multi-step choices.
When a customer or staff member selects this modifier, the relevant follow-up modifier list appears.
For example, selecting "Hummus" reveals a secondary "Choose Hummus Flavor" set, and selecting a flavor
could reveal a third-level portion size set.

Each entry references a child modifier list. Each modifier can nest up to 15 child modifier lists, and
supports up to 3 levels of nesting depth. The order in `child_modifier_list_ids` determines display order
during checkout.
child_modifier_list_ids (anyOf 1)[]stringEach item
child_modifier_list_ids (anyOf 2)nullAlternative
hidden_onlineJSONOptional
hidden_online (anyOf 1)booleanAlternativeWhen `true`, this modifier is hidden from online ordering channels. This setting can be overridden at the item level using `CatalogModifierListInfo.modifier_overrides`.
hidden_online (anyOf 2)nullAlternative
image_idJSONOptional
image_id (anyOf 1)stringAlternativeThe ID of the image associated with this `CatalogModifier` instance.
Currently this image is not displayed by Square, but is free to be displayed in 3rd party applications.
image_id (anyOf 2)nullAlternative
kitchen_colorJSONOptional
kitchen_color (anyOf 1)stringAlternativeThe text color for a `CatalogModifier` on Kitchen Display System (KDS) tickets.
The text color for this modifier on Kitchen Display System (KDS) tickets. Kitchen staff use the color to identify important modifiers quickly.
See [CatalogModifierColor](#type-catalogmodifiercolor) for possible values
Known values: BURGUNDY, TAUPE, BROWN, FOREST, TEAL, SKY, ORANGE, YELLOW, GREEN, BLUE, PURPLE, PINK, GOLD, BURGUNDY_DARK, RED_DARK, BROWN_DARK, FOREST_DARK, BLUE_BRIGHT, PURPLE_DARK, PINK_BRIGHT, ORANGE_DARK, SKY_DARK, PURPLE_MID
kitchen_color (anyOf 2)nullAlternative
kitchen_nameJSONOptional
kitchen_name (anyOf 1)stringAlternative(Optional) Name that the restaurant wants to display to their kitchen workers
instead of the customer-facing name.
e.g., customer name might be "Double Baconize" and the
kitchen name is "Add 2x bacon"
kitchen_name (anyOf 2)nullAlternative
location_overridesJSONOptional
location_overrides (anyOf 1)arrayAlternativeLocation-specific price overrides.
location_overrides (anyOf 1)[]ModelEach itemExpand Create Catalog Image — response body — image modifier data child modifier list ids, hidden online, image id, kitchen color, kitchen name, location overrides, modifier list id, name, on by default, ordinal, price money location overrides Location-specific price overrides item
location_overrides (anyOf 2)nullAlternative
modifier_list_idJSONOptional
modifier_list_id (anyOf 1)stringAlternativeThe ID of the `CatalogModifierList` associated with this modifier.
modifier_list_id (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeThe modifier name. This is a searchable attribute for use in applicable query filters, and its value length is of Unicode code points.
Maximum length: 255
name (anyOf 2)nullAlternative
on_by_defaultJSONOptional
on_by_default (anyOf 1)booleanAlternativeWhen `true`, this modifier is selected by default when displaying the modifier list.
This setting can be overridden at the item level using `CatalogModifierListInfo.modifier_overrides`.
on_by_default (anyOf 2)nullAlternative
ordinalJSONOptional
ordinal (anyOf 1)JSONAlternative
ordinal (anyOf 1) (anyOf 1)integerAlternativeDetermines where this `CatalogModifier` appears in the `CatalogModifierList`.
ordinal (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
ordinal (anyOf 2)nullAlternative
price_moneyJSONOptional
price_money (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
The modifier price.
price_money (anyOf 2)nullAlternative

Referenced models: Create Catalog Image — response body — image modifier data child modifier list ids, hidden online, image id, kitchen color, kitchen name, location overrides, modifier list id, name, on by default, ordinal, price money location overrides Location-specific price overrides item, Pay Order — response body — order total money

Create Catalog Image — response body — image modifier data child modifier list ids, hidden online, image id, kitchen color, kitchen name, location overrides, modifier list id, name, on by default, ordinal, price money location overrides Location-specific price overrides item

FieldTypePresenceDescription and constraints
$objectRootLocation-specific overrides for specified properties of a `CatalogModifier` object.
location_idJSONOptional
location_id (anyOf 1)stringAlternativeThe ID of the `Location` object representing the location. This can include a deactivated location.
location_id (anyOf 2)nullAlternative
price_moneyJSONOptional
price_money (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
The overridden price at the specified location. If this is unspecified, the modifier price is not overridden.
The modifier becomes free of charge at the specified location, when this `price_money` field is set to 0.
price_money (anyOf 2)nullAlternative
sold_outbooleanOptionalIndicates whether the modifier is sold out at the specified location or not. As an example, for cheese (modifier) burger (item), when the modifier is sold out, it is the cheese, but not the burger, that is sold out.
The seller can manually set this sold out status. Attempts by an application to set this attribute are ignored.
Read only: true

Referenced models: Pay Order — response body — order total money

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.