Orders
All Orders
GET
https://yoursite.mavenseed.com/api/v1/orders
Retrieve all orders
Path Parameters
Name | Type | Description |
---|---|---|
page | integer | Results are paginated. |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Auth token |
Show Order
GET
https://yoursite.mavenseed.com/api/v1/orders/:id
Retrieve a single order
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Auth token |
Create Order
POST
https://yoursite.mavenseed.com/api/v1/orders
Create an order.
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Auth Token |
Request Body
Name | Type | Description |
---|---|---|
customer_id | integer | ID of customer for order |
guest_email | string | email of guest user |
currency | string | Default is USD |
Update Order
PATCH
https://yoursite.mavenseed.com/api/v1/orders/:id
Update a single order. All of the above properties in create order are valid.
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Auth token |
Delete a Order
DELETE
https://yoursite.mavenseed.com/api/v1/orders/:id
Delete an order.
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Auth toke |
Last updated