Product Type Option Association POST

URI

https://{DATACENTER}.brightpearlconnect.com/public-api/{ACCOUNT}
/product-service/product-type/{PRODUCT-TYPE-ID-SET}/option-association/{OPTION-ID-SET}

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

Description

This method allows you to create associations between product types and options.

This message supports assigning large groups of options to groups of product types. See examples for some use cases.

Example 1

Assigning option 12 to product type 1.

Request URI

/product-type/1/option-association/12

Response

{
}

Example 2

Assigning options 1 to 5 to product type 5.

Request URI

/product-type/1/option-association/1-5

Response

{
}

Example 3

Assigning option 7 to product types 1 to 6.

Request URI

/product-type/1-6/option-association/7

Response

{
}

Example 4

Assigning options 11 to 17 to product types 1 to 6.

Request URI

/product-type/1-6/option-association/11-17

Response

{
}