1. Generating AWB
Salla Platform Docs
  • Getting Started
  • Migration to the New API
  • Publish App
  • Change Log
  • Shipping Management
    • App Cycle
    • Test App
    • Create App
    • Setup App
  • Order Fulfilment
    • App Cycle
    • Setup App
    • Test App
    • Create App
  • Salla AWB
    • Getting Started
    • Create Shipping App
    • Setup Shipping App
    • App Functions
      • Shipment Creating
      • Shipment Cancelling
    • Generating AWB
      • Shipment AWB
      • Shipment Return AWB
      • Shipment Cancelled AWB
  • APIs
    • Shipments
      • Create Shipment
      • List Shipments
      • Update Shipment Details
      • Shipment Details
      • Cancel Shipments
      • Return Shipments
      • Shipment Tracking
    • Shipping Companies
      • List Shipping Companies
      • Shipping Company Details
    • Shipping Routes
      • Routes List
      • Route Details
      • Create Route
      • Update Route
      • Default Route
      • Delete Route
Merchant
Merchant
  • Merchant API
  • Embedded SDK
  • Salla OAuth 2.0
Storefront
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Ecommerce Events
  • Component Bundle
  • Checkout APIs
  • Change Log
App Functions
Partner APIs
Partner APIs
  • App API
  • Shipments & Fulfillment APIs
  • Salla AWB
  • Recurring Payments API
  • Billing System Salla partners
  • Communication Apps
Dev Tools
Dev Tools
  • Partners Agent Kit
  • Salla Apps Playbook
  • Salla CLI
Merchant
Merchant
  • Merchant API
  • Embedded SDK
  • Salla OAuth 2.0
Storefront
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Ecommerce Events
  • Component Bundle
  • Checkout APIs
  • Change Log
App Functions
Partner APIs
Partner APIs
  • App API
  • Shipments & Fulfillment APIs
  • Salla AWB
  • Recurring Payments API
  • Billing System Salla partners
  • Communication Apps
Dev Tools
Dev Tools
  • Partners Agent Kit
  • Salla Apps Playbook
  • Salla CLI
Salla - Opensource
Salla - Developers Community
  1. Generating AWB

Shipment Return AWB

This guide explains how to test the shipment return flow for a Shipping App end to end and verify that it correctly generates the return shipment AWB label inside a Salla store.

What you will learn#

In this article, the focus is on testing shipment returns using a demo store and confirming that the related App works behave as expected.

How to test the shipment return flow#

Testing the shipment return flow is important to detect issues before publishing the app. This helps ensure that return shipments are created correctly and that the AWB label, tracking link, and status updates work as expected.
The Shipping App can be tested using a Salla demo store to confirm the connection between the App and the store, which is fired when the merchant generates a return shipping policy.

App Testing Scenarios#

For this testing scenario, the focus will be on the flow where the merchant generates a shipping policy, which allows the return shipment logic to be tested.
1
Start the return-label flow
Pick an order that already has its original shipping label, open the action dropdown, and choose Create return label so Salla knows you want to generate a return AWB.
SCR-20251120-jdfr.png
2
Fill the return shipment form
Complete the return-label form with the required package information, pickup/drop-off details, and any carrier-specific data, then click Apply action.
SCR-20251120-jedq.png
3
Call to App Functions (Shipment Creation)
When you apply the action, Salla will make a call to the App Functions (Shipment Creation) you created. Find out more details as explained in the Shipment Creating article here.
4
Shipping App generates and returns AWB data
After receiving the call to App Functions, the Shipping App must call the shipping company's API to generate the return shipment AWBs.
That API will respond with the relevant shipping details, such as :
PDF label
Tracking link
Tracking number
Your App Function then maps these values into Salla’s Shipment response, which will update the shipment details directly to Salla.
5
Response from App Functions
Success
Error
Once successful, you will be able to see a message on the screen indicating that the shipment is created.
Screenshot 2025-11-23 at 1.29.32 PM.png
Modified at 2026-05-10 20:55:50
Previous
Shipment AWB
Next
Shipment Cancelled AWB