Initial commit
This commit is contained in:
38
api/collections/dummyCartEndpoint.yml
Normal file
38
api/collections/dummyCartEndpoint.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
# just here since bgicommerces graphql api regarding cart and checkout isnt working (only cart create is possible, otherwise it always says cart is not existant)
|
||||
|
||||
########################################################################
|
||||
# cart
|
||||
########################################################################
|
||||
|
||||
name: dummyCartEndpoint
|
||||
meta:
|
||||
hideInNavigation: true
|
||||
openapi:
|
||||
disabled: true
|
||||
|
||||
permissions:
|
||||
public:
|
||||
methods:
|
||||
get: true
|
||||
post: true
|
||||
put: false
|
||||
delete: false
|
||||
|
||||
user:
|
||||
methods:
|
||||
get: false
|
||||
post: false
|
||||
put: false
|
||||
delete: false
|
||||
|
||||
hooks:
|
||||
get:
|
||||
read:
|
||||
type: javascript
|
||||
file: hooks/cart/get_read.js
|
||||
post:
|
||||
validate:
|
||||
type: javascript
|
||||
file: hooks/cart/post_validate.js
|
||||
|
||||
fields:
|
||||
Reference in New Issue
Block a user