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
mutation reverseDeliveryShippingUpdate($labelInput: ReverseDeliveryLabelInput, $notifyCustomer: Boolean, $reverseDeliveryId: ID!, $trackingInput: ReverseDeliveryTrackingInput) {
reverseDeliveryShippingUpdate(labelInput: $labelInput, notifyCustomer: $notifyCustomer, reverseDeliveryId: $reverseDeliveryId, trackingInput: $trackingInput) {
reverseDelivery {
# ReverseDelivery fields
}
userErrors {
field
message
}
}
}
Input
{
"labelInput": {
"fileUrl": "https://example.myshopify.com"
},
"notifyCustomer": true,
"reverseDeliveryId": "gid://shopify/<objectName>/10079785100",
"trackingInput": {
"number": "<your-number>",
"url": "https://example.myshopify.com"
}
}
{
"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
}