ops
ops-first-party-services
Add a product's first-party service override
Changed onAdd a first party service override for a product
post/ops/first_party_services/product/{product_id}
Request
- Base URLhttps://api.topi-staging.eu
- URLhttps://api.topi-staging.eu/ops/first_party_services/product/{product_id}
- AuthOAuth 2Authorization code: /oauth2/authorizeToken URL: /oauth2/token scopes: catalog:edit
Path parameters
product_idstring regexp required
The internal ID for the product
Example:739b63c2-9e58-4964-b38d-4ebb424de242
Request body
Example request
{
"additional_values": {
"accessory_type": "experiment_charger",
"deductible_price": {
"currency": "EUR",
"gross": 119000,
"net": 100000
},
"images": {
"url1x": "abc123",
"url2x": "abc123",
"url3x": "abc123"
}
},
"disabled": false,
"monthly_price": {
"currency": "EUR",
"gross": 119000,
"net": 100000
},
"type": "topi_replace"
}Response
OK response.
Example response
{
"additional_values": {
"accessory_type": "experiment_charger",
"deductible_price": {
"currency": "EUR",
"gross": 119000,
"net": 100000
},
"images": {
"url1x": "abc123",
"url2x": "abc123",
"url3x": "abc123"
}
},
"disabled": false,
"monthly_price": {
"currency": "EUR",
"gross": 119000,
"net": 100000
},
"product_id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"type": "topi_replace"
}Changes
- info
api operation id
catalog.AddFirstPartyServiceOverrideForProductremoved and replaced withcatalog#AddFirstPartyServiceOverrideForProduct
- info
- info
api operation id
catalog#AddFirstPartyServiceOverrideForProductremoved and replaced withcatalog.AddFirstPartyServiceOverrideForProduct - info
api tag
ops-first-party-servicesadded
- info