ProductOptions

Create a list of ProductOptions

post/api/v1/ProductOptions

Request

  • Base URL: https://api.cin7.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.cin7.com/api/v1/ProductOptions
  • Auth: none declared

Request body

status0 | 1 | 2 required

Product option status

productIdinteger required

The id of the Product this product option belongs to.

productOptionCodestring required

A unique Code for this product option.

productOptionBarcodestring nullable

A unique barcode

supplierCodestring nullable
option1string nullable
option2string nullable
option3string nullable
specialPricenumber double

The special price

specialsStartDatestring date-time nullable

Start date for the speical price to apply

specialDaysinteger

How many days the special will run starting from the SpecialsStartDate

optionWeightnumber double

The option weight

priceColumnsobject nullable

Response

OK

successboolean

​True if the record was successfully inserted or updated.

idinteger nullable

The record Id.

codestring nullable

The record code.

errorsstring[] nullable

A list of errors if the insert or update fails.

indexinteger

​The index at which the record was positioned in an insert or update.

Changes

No recorded changes to this operation across all 1 revision of this API.