removeReturnTracking mutation
The removeReturnTracking
mutation deletes a customer-entered entry that defines the shipping carrier and tracking number for a return request. Use the customer
query to retrieve valid carrier_uid
values.
Syntax
Copied to your clipboardmutation: {removeReturnTracking(input: RemoveReturnTrackingInput!): RemoveReturnTrackingOutput}
Reference
The removeReturnTracking
reference provides detailed information about the types and fields defined in this mutation.
Example usage
The following example removes customer-entered tracking information for the specified return request. In the response, the shipping
object is empty because the tracking information has been deleted.
Request:
Copied to your clipboardmutation{removeReturnTracking(input: {return_shipping_tracking_uid: "Mw=="}){return {uidshipping {tracking {carrier {uidlabel}tracking_numberstatus {texttype}}}items {order_item {product_nameproduct_sku}}}}}
Response:
Copied to your clipboard{"data": {"removeReturnTracking": {"return": {"uid": "Mw==","shipping": {"tracking": []},"items": [{"order_item": {"product_name": "Ryker LumaTech™ Tee (Crew-neck)","product_sku": "MS09-M-Red"}}]}}}}