Place order

Place orders using the full range of available payment methods (with examples).

post

Create a new orders and collect payments from shoppers using catalog products (products defined in your Control Panel) or dynamic products (products created via API on the fly).

For orders placed with Credit Card, the 3DS Secure flow needs to be covered by redirecting the shoppers to complet the security flow. The full process is detailed here.

For a full list of list of common errors that may arise when using placing order calls via API version 6 here.

When placing a new order it generates unique order reference numbers for all orders (purchases). You can use this parameter RefNo sent in the body to retry authorizations for orders with failed transactions by changing the payment method.

Header parameters
X-Avangate-AuthenticationstringRequiredExample: code="{VENDOR_CODE}" date="{REQUEST_DATE_TIME}" hash="{HASH}"
AcceptstringRequiredExample: application/json
Body
LanguagestringOptional
CountrystringOptional
CustomerIPstringOptional
SourcestringOptional
WSOrderstringOptional
ExternalCustomerReferencestringOptional
CurrencystringOptional
Promotionsstring[]Optional
BillingCycleResetbooleanOptional

Only used when the request type is "Place an order with manual renewal". Licence renewal will start immediately upon processing the new order, resetting the billing cycle.

Responses
post
/orders

Last updated

Was this helpful?