feat: create specific price system and adapt product queries
This commit is contained in:
38
bruno/api_v1/specific_price/Update.yml
Normal file
38
bruno/api_v1/specific_price/Update.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
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
|
||||
Reference in New Issue
Block a user