Price Set

PUT{{api_url}}/shop/price/{{sku}}

Set pricing for a sku

Authorization

Bearer token, sent in the Authorization header. Inherited from the collection.

Headers

KeyValueDescription
Content-Typeapplication/json

Body

{
    "price": 4.07
}

Example Request

curl --location --request PUT '{{api_url}}/shop/price/{{sku}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{auth_token}}' \
--data '{
    "price": 4.07
}'

Example Responses

Price Set

Request

curl --location --request PUT '{{api_url}}/shop/price/5L-MARG-MW04' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{auth_token}}' \
--data '{
    "price": 77.07
}'

Response 200 OK

{
    "found_sku": true,
    "productid": "106",
    "skuid": null,
    "price_orig": "4.07",
    "price_new": "77.07"
}