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
}
}
}
}