Link option group
POST/api/v2/catalog/products/:product_id/options
Link option groups to a product
Request
Path Parameters
Possible values: >= 12 characters and <= 12 characters, Value must match regular expression ^[0-9a-z]+$
Unique ID of the product
- application/json
Body
array
required
- Array [ 
- ] 
string
Possible values: >= 12 characters and <= 12 characters, Value must match regular expression ^[0-9a-z]+$
Responses
- 201
- 400
- 401
- 403
- 404
- 422
- 500
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
  "statusCode": 404,
  "message": "Cannot find item",
  "error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
  "statusCode": 404,
  "message": "Cannot find item",
  "error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
  "statusCode": 404,
  "message": "Cannot find item",
  "error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
  "statusCode": 404,
  "message": "Cannot find item",
  "error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [ 
- ] 
HTTP status code
Error message
Possible values: [query, body, response, param]
Where in the request the error occurred
errors
object[]
required
Possible values: non-empty
Path to the property with the error
constraints
object
required
Error message
{
  "statusCode": 404,
  "message": "Cannot find item",
  "location": "query",
  "errors": [
    {
      "path": "business.id",
      "constraints": {
        "object_required_property": "Required property"
      }
    }
  ]
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
  "statusCode": 404,
  "message": "Cannot find item",
  "error": "Not Found"
}