Products
Get Vendor Products Attribute
GET
https://switch-api-staging.herokuapp.com/vendor/products/attributes
This endpoint allows you to get free cakes.
Headers
auth_token
string
The format for auth_token is Bearer token_string
Get Vendor Products
GET
https://switch-api-staging.herokuapp.com/vendor/products
Headers
auth_token
string
The format for auth_token is Bearer token_string
Post Vendor Products
POST
https://switch-api-staging.herokuapp.com/vendor/products
Headers
auth_token
string
The format for auth_token is Bearer token_string
Get Vendor Product By id
GET
https://switch-api-staging.herokuapp.com/vendor/products/:id
This endpoint gets the info about a particular product
Headers
auth_token
string
The Format for this auth_token is Bearer token_string
Update Vendor Product
PATCH
https://switch-api-staging.herokuapp.com/vendor/products/:id
Headers
auth_token
string
The format for auth_token is Bearer token_string
Update vendor product
PUT
https://switch-api-staging.herokuapp.com/vendor/products/:id
Headers
auth_token
string
The format for auth_token is Bearer token_string
Delete product
DELETE
https://switch-api-staging.herokuapp.com/vendor/products/:id
Headers
auth_token
string
The format for auth_token is Bearer token_string
Last updated
Was this helpful?