Order Property Options of ENUM Type in Online Store: Overview of Methods

Order properties can be of various types:

  • STRING — string,
  • Y/N — yes/no,
  • NUMBER — number,
  • ENUM — enumeration,
  • FILE — file,
  • DATE — date,
  • LOCATION — location,
  • ADDRESS — address.

For an order property of the "list" type ENUM, you need to specify the available options. For example, create an order property "Delivery Time" and add options "08:00-12:00", "12:00-16:00", and "16:00-20:00".

Quick navigation: all methods

Linking Order Property Options with Other Objects

Order properties. Specify the identifier of the order property. You can obtain a list of identifiers using the sale.property.list method.

Overview of Methods

Scope: sale

Who can perform the methods: administrator

Method

Description

sale.propertyvariant.add

Adds a property option

sale.propertyvariant.update

Updates the fields of a property option

sale.propertyvariant.get

Retrieves a property option by id

sale.propertyvariant.list

Retrieves a list of property options

sale.propertyvariant.delete

Deletes a property option

sale.propertyvariant.getFields

Returns available fields of a property option