Create or update an inventory record variant assignment

Request

Security
OAuth2(Required scopes: FullAccessInventoryAdminProductAdmin)
Path
productIDstringrequired

ID of the product.

variantIDstringrequired

ID of the variant.

Bodyapplication/jsonrequired
InventoryRecordIDstringrequired
Example:""
BuyerIDstringrequired
Example:""
UserGroupIDstring
Example:""
curl -i -X POST \
  'https://api.ordercloud.io/v1/products/{productID}/variants/{variantID}/inventoryrecords/assignments' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "InventoryRecordID": "",
    "BuyerID": "",
    "UserGroupID": ""
  }'

Responses

Response
No content