# UPS Return Labels not creating with the Return Mutation

**URL:** <https://community.shiphero.com/t/ups-return-labels-not-creating-with-the-return-mutation/3440>\
**Category:** GraphQL API\
**Created:** [May 24, 2025, 6:27pm UTC](https://community.shiphero.com/t/ups-return-labels-not-creating-with-the-return-mutation/3440 "2025-05-24T18:27:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bilal](https://avatars.discourse-cdn.com/v4/letter/b/3ab097/32.png) [@Bilal](https://community.shiphero.com/u/Bilal)\
**Post date:** [May 24, 2025, 6:27pm UTC](https://community.shiphero.com/t/ups-return-labels-not-creating-with-the-return-mutation/3440/1 "2025-05-24T18:27:52Z")

</div>

Hi,  
I am doing GraphQL mutation for RMA, and the RMA is being created on the shiphero dashboard, but I am unable to get the PDF and the tracking link:  
mutation {  
return\_create(data: {  
order\_id: “613880066”,  
warehouse\_id: “110091”,  
return\_reason: “Found it cheaper”,  
label\_type: FREE,  
label\_cost: “7.71”,  
create\_label: true,  
dimensions: {  
height: “1”,  
width: “1”,  
length: “1”,  
weight: “12.30”  
},  
shipping\_carrier: “ups”,  
shipping\_method: “03”,  
line\_items: [  
{  
sku: “MetalS1”,  
quantity: 1,  
condition: “Good”,  
return\_reason: “Found it cheaper”  
}  
],  
address: {  
name: “Customer name”,  
address1: “1903 address”,  
address2: “”,  
city: “city”,  
state: “state”,  
zip: “97”,  
country: “Country”,  
phone: “XXXXX”  
}  
}) {  
request\_id  
return {  
id  
legacy\_id  
status  
shipping\_carrier  
shipping\_method  
label\_type  
label\_cost  
labels {  
pdf\_location  
tracking\_number  
status  
}  
}  
}  
}

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/shiphero/original/2X/8/83f2a5ec5d7908b156cb6999baa4c753fadfa85d.svg) [@system](https://community.shiphero.com/u/system)\
**Post date:** [August 22, 2025, 6:27pm UTC](https://community.shiphero.com/t/ups-return-labels-not-creating-with-the-return-mutation/3440/2 "2025-08-22T18:27:53Z")

</div>

Closed on August 22, 2025, 6:27pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
