Create Incoming Order
Creating an incoming order
Create Incoming order
POST
https://api-sandbox.shiplemon.com/v1/incoming-orders/generic
Adds an incoming order in our system
Request Body
Name | Type | Description |
---|---|---|
store_id | string | The unique store url to avoid overwrites when orders from multiple stores have the same id. For link compatibility, also add the url protocol. Eg. value: https://woocommercestore.gr |
shipment_id | string | |
status | string | The status of the order: One of: processing, completed |
items* | array | { id: number; name: string; quantity: string; price: number; sku?: string; width: string; length: string; height: string; weight: string; image_url: string; } |
shipping* | object |
Country is a 2 letter ISO code Phone is either local phone or for non GR destination prefix with country code: https://en.wikipedia.org/wiki/E.164 |
total* | number | The total amount of the order |
currency* | string | Accepts the code of the currency based on the iso 4217 Check more here: https://en.wikipedia.org/wiki/ISO_4217 |
shipping_total | number | The shipping amount of the order Default to 0 |
billing* | object |
Country is a 2 letter ISO code Phone is either local phone or for non GR destination prefix with country code: https://en.wikipedia.org/wiki/E.164 |
id | string | The order id (could be a string or number) |
payment_method | string | |
payment_status | string | |
created_at | Date | eg. 2022-02-20T18:14:00.000Z |
discount_total | number | The discount amount of the order. Default to 0 |
Example Request
Payment methods
Inside an order payment_method
listed above should be one of the following fields:
cash_on_delivery
bank_transfer
paypal
card
free
unknown
Payment Statuses
Inside an order payment_status
listed above should be one of the following fields:
pending
paid
Example response
Last updated