Sender addresses correlate with the type of methods that you can retrieve when you make an API call to Get shipping
rates or Choose a shipping method.
Default sender addresses
Sendcloud allows you to store multiple sender addresses in your account details, but one address must always be marked as default.- Whenever you create a parcel without specifying a sender address
id, your default address will be automatically used to create your label - In turn, the brand associated with your default sender address is the one that will be assigned to any parcels you create.
Ship from a different sender address location
If you have multiple sender addresses, you can specify a different sender addressid to ship a parcel from a different location.
You can retrieve the id for each of your sender addresses by making a GET request to the Retrieve a list of sender addresses endpoint.
Retrieve your configured sender addresses
Make aGET request to the Retrieve a list of sender addresses endpoint to retrieve all sender addresses configured for your account:
Example request using curl
Response body
- To ship a parcel from our French store location, we can specify the
idfor this sender address in thesender_addressfield when you make aPOSTrequest to the Create a parcel endpoint. - To see shipping methods applicable for parcels shipping from France, you should specify the
sender_addressidof your secondary location when you make aGETrequest to the Retrieve a list of shipping methods endpoint.
Automate your ‘ship from’ location with shipping rules
You can make use of Shipping rules to automatically create parcels from a specific sender address, based on pre-defined conditions. You can configure shipping rules to automatically ship parcels from a specific sender address based on criteria such asfrom_country, to_country and integration, plus many more.
When properly configured, shipping rules interact with parcels created through the API to remove much of the manual decision making involved in choosing a sender address address per parcel.
Shipping rules
Read more about creating and applying shipping rules