Menu
reverseDeliveryShippingUpdate
Updates a reverse delivery with associated external shipping information.
Use it in a workflow
- Add a step and choose the Shopify connector.
- Pick the reverseDeliveryShippingUpdate action (under Reverse).
- Fill in the fields below, then reference the result from later steps as
{{reversedeliveryshippingupdate.response.data}}.
Query
This is the mutation the action sends by default. Edit it in the step's Query field to change which fields come back.
mutation ReverseDeliveryShippingUpdate($reverseDeliveryId: ID!, $trackingInput: ReverseDeliveryTrackingInput, $labelInput: ReverseDeliveryLabelInput, $notifyCustomer: Boolean) {
reverseDeliveryShippingUpdate(
reverseDeliveryId: $reverseDeliveryId
trackingInput: $trackingInput
labelInput: $labelInput
notifyCustomer: $notifyCustomer
) {
reverseDelivery {
deliverable
id
reverseFulfillmentOrder {
id
order
status
thirdPartyConfirmation
}
}
userErrors {
code
field
message
}
}
}
Variables
Pass these as a JSON object in the step's Variables field.
{
"reverseDeliveryId": "string",
"trackingInput": {
"number": "string",
"url": "string"
},
"labelInput": {
"fileUrl": "string"
},
"notifyCustomer": false
}
Response
Read the result with {{reversedeliveryshippingupdate.response.data.data.reverseDeliveryShippingUpdate}}. If the API returns errors, the step fails and they are at {{reversedeliveryshippingupdate.response.data.errors}}.
Need more? See the Shopify guide for connection setup and behaviour shared by every action.
Was this page helpful?