ops
ops-first-party-services

Add a product's first-party service override

Changed on

Add a first party service override for a product

post/ops/first_party_services/product/{product_id}

Request

  • Base URL
    https://api.topi-staging.eu
  • URL
    https://api.topi-staging.eu/ops/first_party_services/product/{product_id}
  • Auth
    OAuth 2
    Authorization code: /oauth2/authorize
    Token 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

disabledboolean required

If the service should be disabled for a given product

type'topi_repair' | 'topi_replace' | 'demo_first_party_service' | 'topi_accessory' | 'topi_data_deletion_certificate' | 'topi_care_plus_synaxon' | 'topi_care_plus_michaelag' required

The kind of first party service available

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.

disabledboolean required

If the service should be disabled for a given product

product_idstring regexp required

The internal ID for the product

type'topi_repair' | 'topi_replace' | 'demo_first_party_service' | 'topi_accessory' | 'topi_data_deletion_certificate' | 'topi_care_plus_synaxon' | 'topi_care_plus_michaelag' required

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.AddFirstPartyServiceOverrideForProduct removed and replaced with catalog#AddFirstPartyServiceOverrideForProduct

    • info

      api operation id catalog#AddFirstPartyServiceOverrideForProduct removed and replaced with catalog.AddFirstPartyServiceOverrideForProduct

    • info

      api tag ops-first-party-services added