Cancel

Cancels an order. If the order is associated with a subscription, the subsequent order will be created based on its set frequency.

🔐

Authentication

✔️ Application API Scope

✔️ Storefront API Scope

Response Body Definitions

Name

Type

Description

Example

merchant

string

Merchant ID

"275dbe1d77f34aca968fb75a8dbb4c82"

customer

string

Customer ID

"11100-C01"

payment

string

Payment record ID

"25e4d2761d294dd48efd96fdf668a2d9"

shipping_address

string

Shipping address record ID

"03197d2512904301aaed774a256e71c8"

public_id

string

Order ID

"f9cb2f93e1c845eb9de9eff46ddb3cbf"

sub_total

string

Subtotal of items in order

"285.00"

tax_total

string

Tax applied to order

"22.44"

shipping_total

string

Shipping cost applied to order

"0.00"

discount_total

string

Discount applied to order

"15.00"

total

string

Total price of order

"undefined"

created

string

Date created

"2017-02-29 00:00:00"

place

string

Date for order placement

"2017-02-29 00:00:00"

cancelled

string

Date of cancellation;

'null' = not cancelled

"null"

tries

integer

Number of order attempts

1

generic_error_count

integer

0

status

integer

Order status

1

type

string

Order Type

1

order_merchant_id

string

Order ID in your system

"301617"

rejected_message

string

Rejection message from merchant

""

extra_data

string

Raw JSON string that should be JSON.parse() as key/value store for any extra information

"{"some": "extra", "fields": "here"}"

locked

boolean

false

oos_free_shipping

boolean

false

Language