add Price for Product 5839249
POST {{api_url}}/price/{{tenant}}/prices/
Create new price for a product. The caller must have the hybris.price_manage
scope assigned.
Parameters:
tenant: Stands for the project
that requests this resource. Must match the project
that is associated with the access token in the Authorization header.
Request Body
{"productId"=>"5839249", "effectiveAmount"=>20.75, "originalAmount"=>21.75, "currency"=>"EUR", "dateRange"=>{"startDate"=>"2015-01-23T22:00:00+0000", "endDate"=>"2030-03-31T23:00:00+0000"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
siteCode | string | ||
hybris-client | string | ||
hybris-client-id | string | ||
hybris-external-path | string | ||
hybris-external-url | string | ||
hybris-user | string | ||
saas-token | string | ||
hybris-user-id | string | ||
hybris-scopes | string | ||
hybris-request-id | string | ||
hybris-hop | number | ||
hybris-org | string | ||
hybris-target-url | string | ||
Authorization | string | ||
Content-Type | string |