Skip to main content
Required scopes: shipping_read

Arguments

ID!
required
The automation’s id.

Returns

An order fulfillment automation (Settings › Order fulfillment › Automations): a rule that runs when its trigger fires for a fulfillment, such as when it’s created, and sets its shipping service, parcel, tags, holds and more. They’re listed by position, as on the Automations page. Automations run from the bottom of the list up, and what a higher one sets wins over those below it. Agents edit one as script in a workspace (workspaceCreate; read guide/ in fulfillmentAutomationCatalog first). Apps send typed definitions to fulfillmentAutomationCreate and fulfillmentAutomationDefinitionUpdate.

Example