younifyd
Menu

Create orders

Create orders

POST/V1/orders

Use it in a workflow

  1. Add a step and choose the Adobe Commerce connector.
  2. Pick the Create orders action (under Orders).
  3. Fill in the fields below, then reference the result from later steps as {{createOrders.response.data}}.

Fields

baseUrlstring

The API host this action calls. Override to point at a different environment.

Default "/rest/default"

bodystring

The request body content (for POST, PUT, PATCH requests).

forwardAllHeadersboolean

If enabled, all headers from the incoming request will be forwarded. Additional headers below will override forwarded ones.

Default false

headerskeyvalue

Extra HTTP headers to include, beyond what this action already declares. These override forwarded or declared headers with the same name.

queryParamskeyvalue

Extra URL query parameters to include, beyond what this action already declares. These override declared query parameters with the same name.

Response

Returns 200 with an object. Read it in later steps with {{createOrders.response.data.<field>}}.

adjustment_negativenumber

Negative adjustment value.

adjustment_positivenumber

Positive adjustment value.

applied_rule_idsstring

Applied rule IDs.

base_adjustment_negativenumber

Base negative adjustment value.

base_adjustment_positivenumber

Base positive adjustment value.

base_currency_codestring

Base currency code.

base_discount_amountnumber

Base discount amount.

base_discount_cancelednumber

Base discount canceled.

base_discount_invoicednumber

Base discount invoiced.

base_discount_refundednumber

Base discount refunded.

base_grand_totalnumber

Base grand total.

base_discount_tax_compensation_amountnumber

Base discount tax compensation amount.

base_discount_tax_compensation_invoicednumber

Base discount tax compensation invoiced.

base_discount_tax_compensation_refundednumber

Base discount tax compensation refunded.

base_shipping_amountnumber

Base shipping amount.

base_shipping_cancelednumber

Base shipping canceled.

base_shipping_discount_amountnumber

Base shipping discount amount.

base_shipping_discount_tax_compensation_amntnumber

Base shipping discount tax compensation amount.

base_shipping_incl_taxnumber

Base shipping including tax.

base_shipping_invoicednumber

Base shipping invoiced.

base_shipping_refundednumber

Base shipping refunded.

base_shipping_tax_amountnumber

Base shipping tax amount.

base_shipping_tax_refundednumber

Base shipping tax refunded.

base_subtotalnumber

Base subtotal.

base_subtotal_cancelednumber

Base subtotal canceled.

base_subtotal_incl_taxnumber

Base subtotal including tax.

base_subtotal_invoicednumber

Base subtotal invoiced.

base_subtotal_refundednumber

Base subtotal refunded.

base_tax_amountnumber

Base tax amount.

base_tax_cancelednumber

Base tax canceled.

base_tax_invoicednumber

Base tax invoiced.

base_tax_refundednumber

Base tax refunded.

base_total_cancelednumber

Base total canceled.

base_total_duenumber

Base total due.

base_total_invoicednumber

Base total invoiced.

base_total_invoiced_costnumber

Base total invoiced cost.

base_total_offline_refundednumber

Base total offline refunded.

base_total_online_refundednumber

Base total online refunded.

base_total_paidnumber

Base total paid.

base_total_qty_orderednumber

Base total quantity ordered.

json
{
  "base_grand_total": 0,
  "customer_email": "string",
  "grand_total": 0,
  "items": [
    {
      "sku": "string",
      "additional_data": "string",
      "amount_refunded": 0,
      "applied_rule_ids": "string",
      "base_amount_refunded": 0,
      "base_cost": 0,
      "base_discount_amount": 0,
      "base_discount_invoiced": 0,
      "base_discount_refunded": 0,
      "base_discount_tax_compensation_amount": 0,
      "base_discount_tax_compensation_invoiced": 0,
      "base_discount_tax_compensation_refunded": 0
    }
  ],
  "adjustment_negative": 0,
  "adjustment_positive": 0,
  "applied_rule_ids": "string",
  "base_adjustment_negative": 0,
  "base_adjustment_positive": 0,
  "base_currency_code": "string",
  "base_discount_amount": 0,
  "base_discount_canceled": 0
}

Need more? See the Adobe Commerce guide for connection setup and behaviour shared by every action.