fix: edit table and migrations
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
info:
|
||||
name: Delete Index - MeiliSearch
|
||||
type: http
|
||||
seq: 7
|
||||
seq: 8
|
||||
|
||||
http:
|
||||
method: DELETE
|
||||
|
||||
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
|
||||
@@ -1,7 +1,7 @@
|
||||
info:
|
||||
name: currency
|
||||
type: folder
|
||||
seq: 9
|
||||
seq: 10
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
info:
|
||||
name: customer
|
||||
type: folder
|
||||
seq: 10
|
||||
seq: 11
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
|
||||
22
bruno/api_v1/menu/Breadcrumb.yml
Normal file
22
bruno/api_v1/menu/Breadcrumb.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
info:
|
||||
name: Breadcrumb
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: http://localhost:3000/api/v1/restricted/menu/get-breadcrumb?root_category_id=2&category_id=13
|
||||
params:
|
||||
- name: root_category_id
|
||||
value: "2"
|
||||
type: query
|
||||
- name: category_id
|
||||
value: "13"
|
||||
type: query
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
19
bruno/api_v1/menu/Category tree.yml
Normal file
19
bruno/api_v1/menu/Category tree.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
info:
|
||||
name: Category tree
|
||||
type: http
|
||||
seq: 2
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: http://localhost:3000/api/v1/restricted/menu/get-category-tree?root_category_id=2
|
||||
params:
|
||||
- name: root_category_id
|
||||
value: "2"
|
||||
type: query
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
15
bruno/api_v1/menu/Top Customer Management Menu.yml
Normal file
15
bruno/api_v1/menu/Top Customer Management Menu.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
info:
|
||||
name: Top Customer Management Menu
|
||||
type: http
|
||||
seq: 4
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{bas_url}}/restricted/menu/get-customer-management-menu"
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
15
bruno/api_v1/menu/Top Menu.yml
Normal file
15
bruno/api_v1/menu/Top Menu.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
info:
|
||||
name: Top Menu
|
||||
type: http
|
||||
seq: 3
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{bas_url}}/restricted/menu/get-top-menu"
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
7
bruno/api_v1/menu/folder.yml
Normal file
7
bruno/api_v1/menu/folder.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: menu
|
||||
type: folder
|
||||
seq: 12
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
33
bruno/api_v1/order/Change order address.yml
Normal file
33
bruno/api_v1/order/Change order address.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
info:
|
||||
name: Change order address
|
||||
type: http
|
||||
seq: 3
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{bas_url}}/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/api_v1/order/Change order status.yml
Normal file
22
bruno/api_v1/order/Change order status.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
info:
|
||||
name: Change order status
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: PATCH
|
||||
url: "{{bas_url}}/restricted/orders/change-order-status?order_id=2&status=PENDING"
|
||||
params:
|
||||
- name: order_id
|
||||
value: "2"
|
||||
type: query
|
||||
- name: status
|
||||
value: PENDING
|
||||
type: query
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
25
bruno/api_v1/order/List.yml
Normal file
25
bruno/api_v1/order/List.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
info:
|
||||
name: List
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{bas_url}}/restricted/orders/list?p=1&elems=30&sort=order_id,desc"
|
||||
params:
|
||||
- name: p
|
||||
value: "1"
|
||||
type: query
|
||||
- name: elems
|
||||
value: "30"
|
||||
type: query
|
||||
- name: sort
|
||||
value: order_id,desc
|
||||
type: query
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
37
bruno/api_v1/order/Place new order.yml
Normal file
37
bruno/api_v1/order/Place new order.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
info:
|
||||
name: Place new order
|
||||
type: http
|
||||
seq: 2
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{bas_url}}/restricted/orders/place-new-order?cart_id=1&name=Test+Order&country_id=1"
|
||||
params:
|
||||
- name: cart_id
|
||||
value: "1"
|
||||
type: query
|
||||
- name: name
|
||||
value: Test Order
|
||||
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
|
||||
7
bruno/api_v1/order/folder.yml
Normal file
7
bruno/api_v1/order/folder.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: order
|
||||
type: folder
|
||||
seq: 13
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
@@ -1,7 +1,7 @@
|
||||
info:
|
||||
name: product
|
||||
type: folder
|
||||
seq: 8
|
||||
seq: 9
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
info:
|
||||
name: routes
|
||||
type: folder
|
||||
seq: 10
|
||||
seq: 12
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
|
||||
Reference in New Issue
Block a user