Sign in

Create external order

documented

Create an external order on behalf of a customer.

POST /external_ordersExternal Ordersno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.thinkific.com/api/public/v1/external_orders" \
  -X POST \
  -H "X-Auth-API-Key: {{THINKIFIC_API_KEY}}" \
  -H "X-Auth-Subdomain: {{$subdomain}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"external_order": {"external_id": "{{$external_id}}", "source": "{{$source}}", "order": {"product_id": {{$product_id}}, "quantity": {{$quantity}}, "amount_cents": {{$amount_cents}}, "currency": "{{$currency}}", "billing_name": "{{$billing_name}}", "billing_email": "{{$billing_email}}"}, "transactions": [ {"transaction_id": "{{$transaction_id}}", "status": "{{$txn_status}}", "amount_cents": {{$txn_amount_cents}} } ] }}'