feat: order action per status change
This commit is contained in:
19
bruno/api_v1/cart/Add new cart.yml
Normal file
19
bruno/api_v1/cart/Add new cart.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
info:
|
||||
name: Add new cart
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{bas_url}}/restricted/carts/add-new-cart?name=TestCart"
|
||||
params:
|
||||
- name: name
|
||||
value: TestCart
|
||||
type: query
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
31
bruno/api_v1/cart/Add product to cart.yml
Normal file
31
bruno/api_v1/cart/Add product to cart.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
info:
|
||||
name: Add product to cart
|
||||
type: http
|
||||
seq: 6
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{bas_url}}/restricted/carts/add-product-to-cart?cart_id=1&product_id=51&product_attribute_id=1115&amount=1&set_amount=true"
|
||||
params:
|
||||
- name: cart_id
|
||||
value: "1"
|
||||
type: query
|
||||
- name: product_id
|
||||
value: "51"
|
||||
type: query
|
||||
- name: product_attribute_id
|
||||
value: "1115"
|
||||
type: query
|
||||
- name: amount
|
||||
value: "1"
|
||||
type: query
|
||||
- name: set_amount
|
||||
value: "true"
|
||||
type: query
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
22
bruno/api_v1/cart/Change cart name.yml
Normal file
22
bruno/api_v1/cart/Change cart name.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
info:
|
||||
name: Change cart name
|
||||
type: http
|
||||
seq: 3
|
||||
|
||||
http:
|
||||
method: PATCH
|
||||
url: "{{bas_url}}/restricted/carts/change-cart-name?cart_id=1&new_name=UpdatedCart"
|
||||
params:
|
||||
- name: cart_id
|
||||
value: "1"
|
||||
type: query
|
||||
- name: new_name
|
||||
value: UpdatedCart
|
||||
type: query
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
19
bruno/api_v1/cart/Remove cart.yml
Normal file
19
bruno/api_v1/cart/Remove cart.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
info:
|
||||
name: Remove cart
|
||||
type: http
|
||||
seq: 2
|
||||
|
||||
http:
|
||||
method: DELETE
|
||||
url: "{{bas_url}}/restricted/carts/remove-cart?cart_id=1"
|
||||
params:
|
||||
- name: cart_id
|
||||
value: "1"
|
||||
type: query
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
25
bruno/api_v1/cart/Remove product from cart.yml
Normal file
25
bruno/api_v1/cart/Remove product from cart.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
info:
|
||||
name: Remove product from cart
|
||||
type: http
|
||||
seq: 7
|
||||
|
||||
http:
|
||||
method: DELETE
|
||||
url: "{{bas_url}}/restricted/carts/remove-product-from-cart?cart_id=1&product_id=51&product_attribute_id=1115"
|
||||
params:
|
||||
- name: cart_id
|
||||
value: "1"
|
||||
type: query
|
||||
- name: product_id
|
||||
value: "51"
|
||||
type: query
|
||||
- name: product_attribute_id
|
||||
value: "1115"
|
||||
type: query
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
19
bruno/api_v1/cart/Retrieve cart.yml
Normal file
19
bruno/api_v1/cart/Retrieve cart.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
info:
|
||||
name: Retrieve cart
|
||||
type: http
|
||||
seq: 5
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{bas_url}}/restricted/carts/retrieve-cart?cart_id=1"
|
||||
params:
|
||||
- name: cart_id
|
||||
value: "1"
|
||||
type: query
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
15
bruno/api_v1/cart/Retrieve carts info.yml
Normal file
15
bruno/api_v1/cart/Retrieve carts info.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
info:
|
||||
name: Retrieve carts info
|
||||
type: http
|
||||
seq: 4
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{bas_url}}/restricted/carts/retrieve-carts-info"
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
7
bruno/api_v1/cart/folder.yml
Normal file
7
bruno/api_v1/cart/folder.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: cart
|
||||
type: folder
|
||||
seq: 7
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
Reference in New Issue
Block a user