Shopify · Arazzo Workflow

Shopify Create Order and Fulfill

Version 1.0.0

Place an order, locate its fulfillment order, create a fulfillment with tracking, and read the order back.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub CommerceE-CommercePaymentsRetailShopping CartT1ArazzoWorkflows

Provider

shopify

Workflows

create-order-and-fulfill
Create an order then fulfill it with tracking in a single chained flow.
Places an order, resolves its fulfillment order, creates a fulfillment with tracking, and reads the order back to confirm the fulfillment status.
4 steps inputs: email, quantity, trackingCompany, trackingNumber, trackingUrl, variantId outputs: fulfillmentId, order, orderId
1
createOrder
Place an order containing a single variant line item.
2
getFulfillmentOrder
Retrieve the fulfillment order Shopify generated for the order so its id and assigned location can drive the fulfillment.
3
createFulfillment
Create a fulfillment for the fulfillment order, fulfilling all of its line items and attaching carrier tracking. The customer is notified.
4
getOrder
Read the order back to confirm the fulfillment status.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Shopify Create Order and Fulfill
  summary: Place an order, locate its fulfillment order, create a fulfillment with tracking, and read the order back.
  description: >-
    An end-to-end sale-to-shipment flow. The workflow places an order with a
    variant line item, retrieves the fulfillment order that Shopify generates
    for it, creates a fulfillment for every line of that fulfillment order with
    tracking information attached, and finally reads the order back so the
    caller can confirm the fulfillment status. Every step spells out its request
    inline so the flow can be read and executed without opening the underlying
    OpenAPI description.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-2330
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-2330
      capability_name: Omnichannel Order & Fulfilment Management
      spec: shopify-fulfillments-api-openapi.yml
      confidence: 0.8
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: fulfillmentOrdersApi
  url: ../openapi/shopify-fulfillment-orders-api-openapi.yml
  type: openapi
- name: fulfillmentsApi
  url: ../openapi/shopify-fulfillments-api-openapi.yml
  type: openapi
- name: ordersApi
  url: ../openapi/shopify-orders-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-order-and-fulfill
  summary: Create an order then fulfill it with tracking in a single chained flow.
  description: >-
    Places an order, resolves its fulfillment order, creates a fulfillment with
    tracking, and reads the order back to confirm the fulfillment status.
  inputs:
    type: object
    required:
    - email
    - variantId
    - quantity
    properties:
      email:
        type: string
        description: Customer email for the order.
      variantId:
        type: integer
        description: The product variant ID to add as a line item.
      quantity:
        type: integer
        description: Quantity of the variant to order.
      trackingNumber:
        type: string
        description: Carrier tracking number for the fulfillment.
      trackingUrl:
        type: string
        description: Carrier tracking URL for the fulfillment.
      trackingCompany:
        type: string
        description: Shipping company name (e.g. "UPS").
  steps:
  - stepId: createOrder
    description: Place an order containing a single variant line item.
    operationId: createOrder
    requestBody:
      contentType: application/json
      payload:
        order:
          email: $inputs.email
          financial_status: paid
          line_items:
          - variant_id: $inputs.variantId
            quantity: $inputs.quantity
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      orderId: $response.body#/order/id
  - stepId: getFulfillmentOrder
    description: >-
      Retrieve the fulfillment order Shopify generated for the order so its id
      and assigned location can drive the fulfillment.
    operationId: listOrderFulfillmentOrders
    parameters:
    - name: order_id
      in: path
      value: $steps.createOrder.outputs.orderId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      fulfillmentOrderId: $response.body#/fulfillment_orders/0/id
  - stepId: createFulfillment
    description: >-
      Create a fulfillment for the fulfillment order, fulfilling all of its
      line items and attaching carrier tracking. The customer is notified.
    operationId: createFulfillment
    requestBody:
      contentType: application/json
      payload:
        fulfillment:
          line_items_by_fulfillment_order:
          - fulfillment_order_id: $steps.getFulfillmentOrder.outputs.fulfillmentOrderId
          tracking_info:
            number: $inputs.trackingNumber
            url: $inputs.trackingUrl
            company: $inputs.trackingCompany
          notify_customer: true
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      fulfillmentId: $response.body#/fulfillment/id
      fulfillmentStatus: $response.body#/fulfillment/status
  - stepId: getOrder
    description: Read the order back to confirm the fulfillment status.
    operationId: getOrder
    parameters:
    - name: order_id
      in: path
      value: $steps.createOrder.outputs.orderId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      order: $response.body#/order
  outputs:
    orderId: $steps.createOrder.outputs.orderId
    fulfillmentId: $steps.createFulfillment.outputs.fulfillmentId
    order: $steps.getOrder.outputs.order

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/shopify-create-order-and-fulfill-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.