Option POST

URI

https://{DATACENTER}.brightpearl.com/public-api/{ACCOUNT}
/product-service

Refer to our documentation on URI syntax for more information on how to construct URIs.

Description

This message allows you to create a new option.
Field Name Field Description Required Maximum Length
name The name of the option. Yes 32
sortOrder The sort order of the option No (default 0)

Example

Create a new option

Request URI

/option/

Request body

{
	"name": "Color",
	"sortOrder": 7
}

Response

{
	"response": 5
}