Anchor to reverseDeliveryShippingUpdatereverse
reverseDeliveryShippingUpdate
mutation
Requires access scope. Also: The user must have
permission.
Updates a reverse delivery with associated external shipping information.
Anchor to Arguments
Arguments
- Anchor to labelInputlabel•
Input ReverseDelivery Default:nullLabel Input The return label file information for the reverse delivery.
- Anchor to notifyCustomernotify•
Customer BooleanDefault:true If
true
and an email address exists on the, then the customer is notified with the updated delivery instructions.
- Anchor to reverseDeliveryIdreverse•
Delivery Id ID!required The ID of the reverse delivery to update.
- Anchor to trackingInputtracking•
Input ReverseDelivery Default:nullTracking Input The tracking information for the reverse delivery.
Was this section helpful?
Anchor to ReverseDeliveryShippingUpdatePayload returnsReverseDeliveryShippingUpdatePayload returns
- Anchor to reverseDeliveryreverse•
Delivery The updated reverse delivery.
- Anchor to userErrorsuser•
Errors [ReturnUser non-nullError!]! The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
1mutation reverseDeliveryShippingUpdate($labelInput: ReverseDeliveryLabelInput, $notifyCustomer: Boolean, $reverseDeliveryId: ID!, $trackingInput: ReverseDeliveryTrackingInput) {2 reverseDeliveryShippingUpdate(labelInput: $labelInput, notifyCustomer: $notifyCustomer, reverseDeliveryId: $reverseDeliveryId, trackingInput: $trackingInput) {3 reverseDelivery {4 # ReverseDelivery fields5 }6 userErrors {7 field8 message9 }10 }11}
Input
1{2 "labelInput": {3 "fileUrl": "https://example.myshopify.com"4 },5 "notifyCustomer": true,6 "reverseDeliveryId": "gid://shopify/<objectName>/10079785100",7 "trackingInput": {8 "number": "<your-number>",9 "url": "https://example.myshopify.com"10 }11}
{
"labelInput": {
"fileUrl": "https://example.myshopify.com"
},
"notifyCustomer": true,
"reverseDeliveryId": "gid://shopify/<objectName>/10079785100",
"trackingInput": {
"number": "<your-number>",
"url": "https://example.myshopify.com"
}
}
input ReverseDeliveryLabelInput {
fileUrl: URL!
}
input ReverseDeliveryTrackingInput {
number: String
url: URL
}