v1

latestSwagger 2.02026-07-1361110219.8 KB
Order

Create an order

post/api/order/new

Headers

x-auth-keystring required
x-auth-secretstring required

Request body

Referralstring

Represent the referral for this order

ProductIdinteger

Product id

Notestring

Customer note to seller

Namestring

Product alias

Descriptionstring

Product description

CurrencyIdinteger

Foreign key Currency

ShippingAmountnumber double

Cost for shipping the product

ShippingDescriptionstring

Client instructions for shipping

WhatHappensNextDescriptionstring

What happens next description

AfterPaymentDescriptionstring

After payment description

DiscountAmountnumber double

Discount amount

CouponCodestring

Coupon to apply in order to get the discount

TaxAmountnumber double

Tax amount

SubTotalAmountnumber double

Sub total amount

TotalAmountnumber double

Total amount

Status'PendingPayment' | 'Processing' | 'Shipped' | 'Completed' | 'OnHold' | 'Cancelled' | 'Refunded' | 'Failed'

Order status

Response

OK

integer required