Create or update a spec product assignment

Request

Security
OAuth2(Required scopes: FullAccessProductAdmin)
Bodyapplication/jsonrequired
SpecIDstringrequired
Example:""
ProductIDstringrequired
Example:""
DefaultValuestring, <= 2000 characters

When defined, overrides the DefaultValue set on the spec for this product only.

Example:""
DefaultOptionIDstring

When defined, overrides the DefaultOptionID set on the spec for this product only.

Example:""
curl -i -X POST \
  https://api.ordercloud.io/v1/specs/productassignments \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "SpecID": "",
    "ProductID": "",
    "DefaultValue": "",
    "DefaultOptionID": ""
  }'

Responses

Response
No content