Accepting credit cards, warehouses, and shipping and fulfilling orders
I have created a custom app for shopify seller. I am using order graphql api to create draft order, complete draft order, cancel order and return order.
so i am able to create a return in shopify with help of graphql api.
I use following ocde in python to create a return. it is successfully creating returns.
query = '''
mutation returnCreateMutation {
returnCreate(
returnInput: {
orderId: "%s",
returnLineItems: [
{
fulfillmentLineItemId: "%s",
quantity: %s,
returnReason: OTHER
returnReasonNote: "%s"
}
],
notifyCustomer: false
}
)
{
return {
id
}
userErrors {
field
message
}
}
}
''' % (order_id, item_id, quantity, reason)
now i want return shipping label for this return created. how do i get that ?
for example if shopify seller has update tracking id and url for this return then how do I get,
also i was not able to add tracking url and tracking id for returned in shopify admin for all order that i returned with api.
can someone pls help with this ?
can somebody please reply from shopify staff
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024