feat(medusa-fulfillment-webshipper): Create webshipper return order (#4846)

Adds option to create a webshipper return order if return_portal is defined through webshipper options. Return order allows additional features in webshipper, such as marking the return as "Arrived" or "Processed" which enables us to create a webhook and automatically mark return as received in medusa.

Note:
Return portal is a "required" relationship in webshipper when doing a return order POST request, hence it should be defined in options prior to using this feature.

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
Josip Matić
2023-09-07 12:21:03 +02:00
committed by GitHub
parent 09d97fd05e
commit c7b149a7bc
3 changed files with 102 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
---
"@medusajs/medusa": patch
"medusa-fulfillment-webshipper": patch
---
feat(medusa-fulfillment-webshipper): Create webshipper return order