nexlogiq Shopify icon

nexlogiq Shopify

Consume Shopify API (SaaS Edition)

Order → Create

AI-generated

Summary

Create a new Shopify order

Inputs

  • shopUrl (required) — Shopify store URL, e.g., your-store.myshopify.com
  • accessToken (required) — Admin API access token for authentication
  • line_items — Array of order line items; each item includes variant_id and quantity
  • email — Customer email address
  • additionalFields — Optional note and tags to include on the order

Output shape

the created order object wrapped in a JSON array

The response contains the full order record; fields such as order ID, line items, and email are included. Errors are thrown unless continueOnFail is enabled.

Examples

Example 1: Create an order with two products and customer email

shopUrl, accessToken, line_items=[{variant_id:'123',quantity:2},{variant_id:'456',quantity:1}], email='customer@example.com'

Example 2: Create an order and add a note

shopUrl, accessToken, line_items=[{variant_id:'789',quantity:1}], additionalFields={'note':'Reviewed'}

Links

Discussion