younifyd
Menu

Get order invoices

Get order invoices

GET/shops/{shopKey}/countries/{countryCode}/orders/{orderIdentifier}/invoices

Use it in a workflow

  1. Add a step and choose the SCAYLE Admin connector.
  2. Pick the Get order invoices action (under Orders).
  3. Fill in the fields below, then reference the result from later steps as {{getOrderInvoices.response.data}}.

Request

Path parameters

shopKeystringrequired

The shop key.

countryCodestringrequired

The shop country code; use shop country ID instead of country code when a country is ambiguous within a shop.

orderIdentifieroneOfrequired

Order ID or reference key If you are using a reference key, it is highly recommended to use the encoded equal sign (%3D) instead of the plain =

Response

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

entitiesarray<object>
idinteger

PDF document id (different from invoice identifier)

createdAtstring (date-time)
typestring

Document types

One ofinvoicepartial_invoicecorrective_invoicemerchant_invoicemerchant_partial_invoicemerchant_corrective_invoicecustom_corrective_invoicehistorical_corrective_invoicereturn_cost_corrective_invoiceprazshipment_return_document

invoiceobject2 fields
availableboolean
cursorobject
nextstring

The cursor pointing to the next page. If null there is no next page available.

json
{
  "entities": [
    {
      "id": 0,
      "createdAt": "2025-01-01T00:00:00Z",
      "type": "invoice",
      "invoice": {
        "number": 5,
        "fullNumber": "ayou-24-5"
      },
      "available": true
    }
  ],
  "cursor": {
    "next": "MQ=="
  }
}

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

Get order invoices — SCAYLE Admin — Documentation