Path parameters
-
The ID of the product for which to create or update a sales type override
-
The ID of the sales type for which to create or update a sales type override
PUT
/products/{id}/salestypeOverrides/{salesTypeId}
curl \
--request PUT 'https://rest.api.24sevenoffice.com/v1/products/{id}/salestypeOverrides/{salesTypeId}' \
--header "Content-Type: application/json" \
--header "Authorization: string" \
--data '{"accountNumber":42}'
Request examples
# Headers
Authorization: string
# Payload
{
"accountNumber": 42
}
Response examples (200)
# Headers
Access-Control-Allow-Origin: string
Access-Control-Allow-Credentials: string
X-Trace-Id: string
# Payload
{
"productId": 42,
"salesTypeId": 42,
"accountNumber": 42
}