capabilities.work

Create and Fetch Return

A 2-step recipe with parcelLab. We can help you get access.

Recipe · 2 steps

Create and Fetch Return

Create a return registration and fetch the persisted record.

  1. Open a new return registration for the order against the supplied return configuration code.
  2. Read the persisted return registration back by its external id to confirm it was stored and to retrieve any generated return labels.
What you'll need to have ready
  • authToken: Authorization header value for the parcelLab API.
  • account: The parcelLab account id.
  • code: Return configuration code to register the return against.
  • reference: Order reference the return belongs to.
  • customerEmail: Customer email for the return registration.
  • articlesOrder: Line items from the original order.
  • articlesReturn: Line items being returned.
For your developer

Arazzo workflow parcellab:create-and-fetch-return, 2 operations: createReturnRegistration → getReturnRegistration. Specs on APIs.io.