Creating Orders

Pipe17 lets you create orders in three ways: one at a time in the app, from JSON, or in bulk by importing a structured CSV file. This feature is ideal for eCommerce merchants, fulfillment partners, and brands looking to streamline operations and eliminate manual order entry.


Creating Manual Orders

Manual order creation lets you create new orders directly in the app, without JSON input. You can create standalone orders or orders linked to an existing order, for replacements, appeasements, or returns.

Steps

  1. Go to Orders → All Orders.
  2. Select Create order → Create order from the dropdown.
  3. Choose one of two options:
    • Create from scratch: Leave Original order (optional) empty.
    • Link to an existing order: Click Select original order and choose the existing order to connect the new one to (e.g., for replacements).

Form Details

  • Order reason (optional): In the Order Details card, choose why you're creating this order: Damaged, Lost in transit, Wrong item, or Other.
  • Tags and Notes: Add internal tags or notes as needed.
  • Items:
    • Click + Add item to open the Add items dialog.
    • Search by product SKU or name and select the items you want.
    • The dialog shows each product's Available quantity.
    • Use the Requires Shipping checkbox to flag whether each item needs shipping.
    • Items added on this page have no price ($0).
  • Customer (optional): Search for an existing customer by name or email (at least four characters) and select it.
  • Shipping Address and Shipping Method:
    • Enter the recipient's address.
    • In Shipping Method, select a shipping method. Each method shows its description under its name. To find a method, type part of its name or description. All shipping options are free for reshipments.
    • After you save the draft, you can also add a Billing Address.
  • Custom Fields:
    • Use custom fields to map order data to connectors and integrations.
    • Add a Name and Value for each custom field.

Save or Confirm the Order

  • Click Save draft order to save the order in Draft status.
    • Draft orders can be empty and remain fully editable.
    • Each new order gets a unique Order ID in the Order Info card. You can change it before you save.
    • When you save, the app verifies the shipping address with an address verification service (when Address line 1 is filled in). If the address can't be verified, edit it or select Use this address anyway.
  • On a saved draft, click Save changes to keep your edits, or Delete draft to remove the draft permanently. Deleting a draft can't be undone.
  • Once ready, click Confirm order.
    • The status changes from Draft to New.
    • The order becomes eligible for automation rules and routing.

Linking a New Order to an Existing One

Linking lets you create a new order that references an existing one. Use it for damaged, missing, or wrong items, or other cases.

Steps

  1. Go to Orders → All Orders.
  2. Select Create order → Create order.
  3. Under Original order (optional), click Select original order, then search by order #, name, or email.
    • Results appear after you type at least four characters. The search covers orders from the last 60 days.
  4. Once selected, the customer, shipping address, shipping method, notes, and tags are copied from the original order. The Order ID is set to the original order's ID with a number suffix (e.g., (1)). You can edit any of them.

  5. Set the Order reason (e.g., Damaged).
  6. Update the internal Notes and Tags if needed.
  7. Click + Add item, then use the Linked order products tab to view items from the original order.
    • Select only the product(s) that need to be re-sent.
  8. Adjust quantity as needed.

  9. Click Save draft order.
    • The app verifies the shipping address with an address verification service (when Address line 1 is filled in).
    • If the address can't be verified, edit it or select Use this address anyway.
  10. Review the draft and click Confirm order to finalize.

The linked order inherits relevant details from the original, making the process faster and minimizing manual entry.

Order Status and Routing

  • After confirming, the order moves to New status.
  • The system's automation rules evaluate the new order for routing and shipping requests.
  • The Routing Status updates as the order moves through processing.

Key Details

Element Description
Feature Location Orders → All Orders → Create order → Create order
Status Options Draft → New
Address Validation Address verification service on save (requires Address line 1)
Customer Data Select an existing customer, or copied from the original order when linked

Creating Orders via JSON

  1. Navigate to the All Orders section of the app.
  2. Select the Create order button, then choose Create order from JSON.
  3. In the Create Order pop-up window, enter the order as JSON. For all available fields, see the API documentation link in the pop-up.

  4. Click Save. The order is created in Draft status and opens so you can review it.
  5. Click Confirm order when it's ready.

The pop-up creates one order at a time. The status must be draft (or left out); other values are rejected. You can't set orderId, createdAt, or updatedAt.

You can create orders using JSON with this structure:

Required Fields

The only required field for the order itself is:

  • extOrderId: External Order ID (string)

If you include line items, each one needs sku, quantity, uniqueId, and requiresShipping. Payments need amount, currency, method, and status. Discounts and additional charges need type and value.

Core Order Structure

{
  "extOrderId": "ORDER-12345",
  "status": "draft",
  "orderSource": "shopify",
  "orderSourceType": "online",
  "currency": "USD",
  "totalPrice": 99.99,
  "subTotalPrice": 89.99,
  "orderTax": 8.00,
  "shippingPrice": 10.00,
  "extOrderCreatedAt": "2024-01-15T10:30:00Z",
  "lineItems": [
    {
      "sku": "WIDGET-001",
      "quantity": 2,
      "uniqueId": "line-1",
      "requiresShipping": true,
      "itemPrice": 44.99,
      "name": "Premium Widget"
    }
  ],
  "shippingAddress": {
    "firstName": "John",
    "lastName": "Doe",
    "address1": "123 Main St",
    "city": "New York",
    "stateOrProvince": "NY",
    "zipCodeOrPostalCode": "10001",
    "country": "US",
    "email": "john.doe@example.com",
    "phone": "555-123-4567"
  },
  "billingAddress": {
    "firstName": "John",
    "lastName": "Doe",
    "address1": "123 Main St",
    "city": "New York",
    "stateOrProvince": "NY",
    "zipCodeOrPostalCode": "10001",
    "country": "US",
    "email": "john.doe@example.com"
  }
}

Custom Fields

Add custom data to orders and line items:

{
  "customFields": [
    {
      "name": "priority",
      "value": "high"
    }
  ]
}

Payment Information

Include payment details:

{
  "payments": [
    {
      "amount": 99.99,
      "currency": "USD",
      "method": "creditCard",
      "status": "succeeded",
      "kind": "visa"
    }
  ]
}

Discounts and Additional Charges

{
  "discounts": [
    {
      "type": "coupon",
      "value": 10.00,
      "reference": "SAVE10"
    }
  ],
  "additionalCharges": [
    {
      "type": "handling",
      "value": 5.00
    }
  ]
}

Creating Orders in Bulk via CSV Import

Access the Import Feature

To start importing orders in bulk:

  1. Navigate to the All Orders section of the app.
  2. Select the Import button, then choose Import orders.

  3. In the pop-up window, drag and drop your CSV file or click to select it from your device. Files can be up to 10 MB.
  4. After the file is uploaded, the app displays a preview of your orders, each in its own row. The preview shows the first 100 rows.
  5. Review the data, then click Import to start the process.

The system processes your file in the background and notifies you by email once the import is complete.

Download the Import Template

Before uploading your data, download the official CSV template: select the Import button, then choose Download template. The template includes all required and optional fields needed for successful order creation.

Category Fields
Order Details Order ID, External Order Api Id, Status, Order Source, Total Price, Expected Delivery Date, Ordered (Order Created Date), Tags, Order Source Type, Currency, Sub Total Price, Order Discount, Order Tax, Order Note, Gift Note
Line Items Line Item SKU#1, Line Item Unique Id#1, Line Item Quantity#1, Line Item Price#1, Line Item Discount#1, Line Item Requires Shipping#1, Line Item SKU#2, Line Item Unique Id#2, Line Item Quantity#2, Line Item Price#2, Line Item Discount#2, Line Item Requires Shipping#2
Shipping Address First Name, Last Name, Company, Address 1, Address 2, City, State / Province, Zip / Postal Code, Country, Email, Phone
Billing Address First Name, Last Name, Company, Address 1, Address 2, City, State / Province, Zip / Postal Code, Country, Email, Phone
Shipping Information Shipping Carrier, Shipping Class, Ship By Date, Ship After Date, Shipping Note, Shipping Code, Shipping Price, Require Shipping Labels
Customer Info External Customer First Name, External Customer Last Name, External Customer Company
Status Payment Status, Fulfillment Status

Prepare Your CSV File

  • Fill in your order data using the template.
  • Each order should occupy a single row.
  • For multiple line items, complete the matching numbered columns (e.g., Line Item SKU#1, Line Item Quantity#1, Line Item SKU#2, and so on).
  • Your file must include the Order ID, Line Item SKU#1, and Line Item Requires Shipping#1 columns. Otherwise, the app shows "Orders Import Template Is Invalid".

Import the File

The system validates the data and runs the import in the background.

  1. Return to the Orders section.
  2. Select the Import button, then choose Import orders.
  3. Upload your completed CSV file.
  4. In Emails, enter the email addresses that should receive the import results. Your email address is added by default.
  5. Click Import to start the process.

Each row is imported on its own. Rows with problems are listed in the results email, and the other rows are still imported.


Troubleshooting

  • Address can't be verified when saving a manual order.
    Check the street, city, state, and ZIP code for typos and make sure Address line 1 is filled in. If the address is correct, select Use this address anyway.
  • Items don't appear in the Add items search.
    Search by SKU or product name. Only the top matches are shown, so type more of the SKU or name to narrow the list. Make sure the product exists in Products.
  • Automation doesn't run after confirmation.
    Verify that the order reached New status, then check your organization's automation rules for new orders.
  • JSON order isn't saved.
    The status must be draft or left out, and orderId, createdAt, and updatedAt can't be set. Check the error message in the pop-up and fix the JSON.

What happens after import?

You'll receive an email with a summary of the results, including:

  • Total orders processed
  • Successfully imported orders
  • Skipped orders (rows with no Order ID, an Order ID starting with //, or no line item SKU)
  • Failed orders, with details explaining the error (for example, an order with that Order ID already exists)

Common Issues

  • The app shows "Orders Import Template Is Invalid".
    The file is missing a required column. Make sure it includes Order ID, Line Item SKU#1, and Line Item Requires Shipping#1, or start from the downloaded template.
  • A row was skipped.
    The row has no Order ID, its Order ID starts with //, or it has no line item SKU. Fill in the missing values and import the row again.
  • Line item errors.
    For each line item, fill in matching values for SKU, Quantity, Unique ID, and Requires Shipping in the same numbered columns (e.g., #1, #2).
  • A row failed because the order already exists.
    The import only adds new orders. If an order with the same Order ID already exists, that row fails and the existing order stays unchanged.
  • Some rows failed validation.
    Rows with invalid data fail individually and are listed in the results email with the error. The other rows are still imported. Fix the failed rows and import only those.

Need Help?

If you need additional assistance:

  • Use Ask Pippen, our AI agent, located at the top of the platform page.
  • Submit a support request with as much relevant detail as possible. Learn how to submit a request.

We're here to help you succeed with your operations.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.

Have more questions?
Submit a request
Share it, if you like it.