younifyd
Menu

Get orders

Get orders

GET/V1/orders

Use it in a workflow

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

Request

Query parameters

searchCriteria[filterGroups][0][filters][0][field]string

Field

searchCriteria[filterGroups][0][filters][0][value]string

Value

searchCriteria[filterGroups][0][filters][0][conditionType]string

Condition type

searchCriteria[sortOrders][0][field]string

Sorting field.

searchCriteria[sortOrders][0][direction]string

Sorting direction.

searchCriteria[pageSize]integer

Page size.

searchCriteria[currentPage]integer

Current page.

Response

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

itemsarray<object>

Array of collection items.

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_totalnumberrequired

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.

search_criteriaobject

Search criteria interface.

filter_groupsarray<object>required1 fields

A list of filter groups.

sort_ordersarray<object>2 fields

Sort order.

page_sizeinteger

Page size.

current_pageinteger

Current page.

total_countinteger

Total count.

json
{
  "items": [
    {
      "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
    }
  ],
  "search_criteria": {
    "filter_groups": [
      {
        "filters": [
          {
            "field": "string",
            "value": "string",
            "condition_type": "string"
          }
        ]
      }
    ],
    "sort_orders": [
      {
        "field": "string",
        "direction": "string"
      }
    ],
    "page_size": 0,
    "current_page": 0
  },
  "total_count": 0
}

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