Skip to content

Files

Latest commit

 

History

History
38 lines (27 loc) · 2.67 KB

CatalogItemVariation.md

File metadata and controls

38 lines (27 loc) · 2.67 KB

Square.Connect.Model.CatalogItemVariation

Properties

Name Type Description Notes
ItemId string The ID of the CatalogItem associated with this item variation. Searchable. [optional]
Name string The item variation's name. Searchable. [optional]
Sku string The item variation's SKU, if any. Searchable. [optional]
Upc string The item variation's UPC, if any. Searchable. [optional]
PricingType PricingTypeEnum Indicates whether the item variation's price is fixed or determined at the time of sale. See CatalogPricingType for all possible values. [optional]
PriceMoney Money The item variation's price, if fixed pricing is used. [optional]
LocationOverrides List<ItemVariationLocationOverrides> Per-[location][#type-location] price and inventory overrides. [optional]
TrackInventory bool? If `true`, inventory tracking is active for the variation. [optional]
InventoryAlertType InventoryAlertTypeEnum Indicates whether the item variation displays an alert when its inventory quantity is less than or equal to its `inventory_alert_threshold`. See InventoryAlertType for all possible values. [optional]
InventoryAlertThreshold long? If 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. [optional]
UserData string Arbitrary user metadata to associate with the item variation. Cannot exceed 255 characters. Searchable. [optional]
ServiceDuration long? If 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). [optional]

PricingTypeEnum

Name Value
FIXEDPRICING "FIXED_PRICING"
VARIABLEPRICING "VARIABLE_PRICING"

InventoryAlertTypeEnum

Name Value
NONE "NONE"
LOWQUANTITY "LOW_QUANTITY"

[Back to Model list] [Back to API list] [Back to README]