Attach Digital Code
POST {{baseUrl}}/products/:product/digital-codes
You can add digital codes to a specific codes product by providing the ID of the product you want to attach these codes to it in the product path parameter.
Note: You can attach codes to codes product only.
OAuth Scopes
products.read_write
Request Body
{"codes"=>["232m322", "2D3w", "sD21S"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"status":201,"success":true,"data":{"message":"The entity has been created successfully","code":201}}