Target Prices POST using a secret

Updated by Constance Colboc

A feed manager can request a catalog’s target prices by sending a POST request and passing a secret and a list of SKUs.

Your secret

Using the API:

POST to the route /u/client with the target_prices_secret in the body

 

Request

The request uses the POST method and is sent to the URL: https://<YOURDOMAIN>.multiply.cloud/pricing_targets/<YOUR_UUID>/mpc_targets.json?mpc_id=<CATALOG_ID>

(also available for the other target URLs like mpc_targets.csv)

 

The secret’s value must be present either in:

- The request header X-Target-Prices-Token

- The request body parameter target_prices_token

 

The SKU list is optional and is a body parameter named skus which value is a comma separated list of skus (e.g.: “sku1,sku2,sku3”).

 

Example URL:

​https://xxxxxx.multiply.cloud/f/444728da-3705-48bd-8374-7ec75b8862ca/mpc_targets.json?mpc_id=997


How did we do?