39 lines
737 B
YAML
39 lines
737 B
YAML
info:
|
|
name: Update
|
|
type: http
|
|
seq: 4
|
|
|
|
http:
|
|
method: PUT
|
|
url: "{{bas_url}}/restricted/specific-price/{{id}}"
|
|
body:
|
|
type: json
|
|
data: |-
|
|
{
|
|
"name": "Summer Sale Updated",
|
|
"reduction_type": "amount",
|
|
"percentage_reduction": 50.0,
|
|
"price": 69,
|
|
"currency_id": 1,
|
|
"scope": "shop",
|
|
"is_active": true,
|
|
"from_quantity":1
|
|
// "product_ids": [51,53],
|
|
// "category_ids": [1],
|
|
// "product_attribute_ids": [1114],
|
|
// "country_ids": [1],
|
|
// "customer_ids": [2,1]
|
|
}
|
|
auth: inherit
|
|
|
|
runtime:
|
|
variables:
|
|
- name: id
|
|
value: "3"
|
|
|
|
settings:
|
|
encodeUrl: true
|
|
timeout: 0
|
|
followRedirects: true
|
|
maxRedirects: 5
|