younifyd
Menu

Get order document content

Get order document content

GET/shops/{shopKey}/countries/{countryCode}/orders/{orderIdentifier}/documents/{documentId}/file

Use it in a workflow

  1. Add a step and choose the SCAYLE Admin connector.
  2. Pick the Get order document content action (under Orders).
  3. Fill in the fields below, then reference the result from later steps as {{getOrderDocumentContent.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 =

documentIdintegerrequired

Order document ID

Response

Returns 200 with a string (binary). Read it in later steps with {{getOrderDocumentContent.response.data.<field>}}.

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

Get order document content — SCAYLE Admin — Documentation