ops
ops-product-suggestions

Update a product suggestion

Changed on

update a product suggestion for a given product id

patch/ops/product_suggestions/{product_id}

Request

  • Base URL
    https://api.topi-staging.eu
  • URL
    https://api.topi-staging.eu/ops/product_suggestions/{product_id}
  • Auth
    OAuth 2
    Authorization code: /oauth2/authorize
    Token URL: /oauth2/token scopes: catalog:edit

Path parameters

product_idstring regexp required

product id

Example:739b63c2-9e58-4964-b38d-4ebb424de242

Request body

suggestion_weightinteger required

The weight of the suggestion

Example request

{
  "suggestion_weight": 1
}

Response

OK response.

Changes

    • info

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

    • info

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

    • info

      api tag ops-product-suggestions added