Merge branch 'main' of ssh://git.ma-al.com:8822/goc_daniel/b2b into translate
This commit is contained in:
@@ -5,10 +5,10 @@ info:
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: http://localhost:3000/api/v1/restricted/carts/retrieve-cart?cart_id=3
|
||||
url: http://localhost:3000/api/v1/restricted/carts/retrieve-cart?cart_id=1
|
||||
params:
|
||||
- name: cart_id
|
||||
value: "3"
|
||||
value: "1"
|
||||
type: query
|
||||
auth: inherit
|
||||
|
||||
|
||||
@@ -5,10 +5,10 @@ info:
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: http://localhost:3000/api/v1/restricted/menu/get-breadcrumb?root_category_id=10&category_id=13
|
||||
url: http://localhost:3000/api/v1/restricted/menu/get-breadcrumb?root_category_id=2&category_id=13
|
||||
params:
|
||||
- name: root_category_id
|
||||
value: "10"
|
||||
value: "2"
|
||||
type: query
|
||||
- name: category_id
|
||||
value: "13"
|
||||
|
||||
@@ -5,10 +5,10 @@ info:
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: http://localhost:3000/api/v1/restricted/menu/get-category-tree?root_category_id=10
|
||||
url: http://localhost:3000/api/v1/restricted/menu/get-category-tree?root_category_id=2
|
||||
params:
|
||||
- name: root_category_id
|
||||
value: "10"
|
||||
value: "2"
|
||||
type: query
|
||||
auth: inherit
|
||||
|
||||
|
||||
33
bruno/b2b_daniel/orders/change-order-address.yml
Normal file
33
bruno/b2b_daniel/orders/change-order-address.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
info:
|
||||
name: change-order-address
|
||||
type: http
|
||||
seq: 3
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: http://localhost:3000/api/v1/restricted/orders/change-order-address?order_id=1&country_id=1
|
||||
params:
|
||||
- name: order_id
|
||||
value: "1"
|
||||
type: query
|
||||
- name: country_id
|
||||
value: "1"
|
||||
type: query
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"postal_code": "31-154",
|
||||
"city": "Kraków",
|
||||
"voivodeship": "śląskie",
|
||||
"street": "Długa",
|
||||
"building_no": "5",
|
||||
"recipient": "Adam Adamowicz"
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
22
bruno/b2b_daniel/orders/change-order-status.yml
Normal file
22
bruno/b2b_daniel/orders/change-order-status.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
info:
|
||||
name: change-order-status
|
||||
type: http
|
||||
seq: 4
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: http://localhost:3000/api/v1/restricted/orders/change-order-status?order_id=1&status=PAID
|
||||
params:
|
||||
- name: order_id
|
||||
value: "1"
|
||||
type: query
|
||||
- name: status
|
||||
value: PAID
|
||||
type: query
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
7
bruno/b2b_daniel/orders/folder.yml
Normal file
7
bruno/b2b_daniel/orders/folder.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: orders
|
||||
type: folder
|
||||
seq: 11
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
31
bruno/b2b_daniel/orders/list.yml
Normal file
31
bruno/b2b_daniel/orders/list.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
info:
|
||||
name: list
|
||||
type: http
|
||||
seq: 2
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: http://localhost:3000/api/v1/restricted/orders/list?p=1&elems=30&sort=product_id,asc&user_id=2&name=~sdj
|
||||
params:
|
||||
- name: p
|
||||
value: "1"
|
||||
type: query
|
||||
- name: elems
|
||||
value: "30"
|
||||
type: query
|
||||
- name: sort
|
||||
value: product_id,asc
|
||||
type: query
|
||||
- name: user_id
|
||||
value: "2"
|
||||
type: query
|
||||
- name: name
|
||||
value: ~sdj
|
||||
type: query
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
37
bruno/b2b_daniel/orders/place-new-order.yml
Normal file
37
bruno/b2b_daniel/orders/place-new-order.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
info:
|
||||
name: place-new-order
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: http://localhost:3000/api/v1/restricted/orders/place-new-order?cart_id=1&name=sdjalksd&country_id=1
|
||||
params:
|
||||
- name: cart_id
|
||||
value: "1"
|
||||
type: query
|
||||
- name: name
|
||||
value: sdjalksd
|
||||
type: query
|
||||
- name: country_id
|
||||
value: "1"
|
||||
type: query
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"postal_code": "31-154",
|
||||
"city": "Kraków",
|
||||
"voivodeship": "małopolskie",
|
||||
"street": "Długa",
|
||||
"building_no": "5",
|
||||
"apartment_no": "7",
|
||||
"recipient": "Jan Kowalski"
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
Reference in New Issue
Block a user