Skip to main content
POST
/
v1
/
orders
/
import
Import Orders
curl --request POST \
  --url https://{cluster}.voucherify.io/v1/orders/import \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-App-Id: <api-key>' \
  --header 'X-App-Token: <api-key>' \
  --data null
{
  "async_action_id": "aa_0a875d56c805df6601"
}

Authorizations

X-App-Id
string
header
required
X-App-Token
string
header
required
Authorization
string
header
required

Body

application/json · Order Customer And Referrer Ids Objects · object[]
referrer_id
string | null
Example:
customer
object
referrer
object
id
string
source_id
string | null
status
enum<string>
Available options:
CREATED,
PAID,
CANCELED,
FULFILLED
amount
integer
initial_amount
integer
discount_amount
integer
items
Order Item · object[]
metadata
object

Response

async_action_id
string
required
Example: