- The Return portal
- The tracking page, a Sendcloud-hosted delivery status page that replaces the carrier’s tracking page
- Tracking notifications sent by email, SMS, and WhatsApp
- Shipping labels, which show your print logo (not all carriers support logos on their labels)
Create a brand
Brands are created and managed in the Sendcloud platform under Settings > Brands. The API gives you read-only access to your brands. For step-by-step instructions, including how to set up your logos, brand color, header, footer, and Google Analytics, see our guide on setting up your brand. The Shipping Portal URL you enter for your brand becomes the brand’sdomain. Your Return portal and tracking page are hosted on https://{domain}.shipping-portal.com.
When you save a new brand, tracking emails are automatically activated for it. You can manage the Return portal, tracking page, and each notification channel from the Related features section of the brand’s settings.
When you delete a brand or change its Shipping Portal URL, the old domain stays reserved for your account for 24
hours. During that time, other Sendcloud accounts can’t use it.
Retrieve your brands
To find theid of a brand, use the Retrieve a list of brands endpoint. To retrieve a single brand, use the Retrieve a brand endpoint.
Example request using curl
Example response
Apply a brand to a shipment
Set thebrand_id field in your request to choose which brand applies to a shipment. The field is available on:
- The Shipments API, when you create a shipment
- The Ship an Order API, when you ship an order
- The Returns API, when you create a return
sender_address_id is a top-level field, and Returns API requests don’t use a sender address.
Shipments API request body
brand_id must belong to your account. If it doesn’t, the request fails with a 400 error. The only exception is Ship an Order when a shipping rule changes the sender address: the brand_id is then ignored and not validated, as described below.
How the brand is determined
Every sender address in the Sendcloud platform is linked to a brand. Depending on the API you use, that brand can be applied when you don’t specify abrand_id. Each API checks the options below in order, and applies the first brand it finds.
Shipments API
- The
brand_idfrom your request. - The brand of the sender address in
from_address.sender_address_id. When you create a shipment with shipping rules, a rule can set this sender address. - No brand. This happens when you provide the full
from_addressinstead of asender_address_id.
- The brand of the sender address set by a shipping rule. This brand is used even if you specify a
brand_id, and thebrand_idisn’t validated. - The
brand_idfrom your request. - The brand of the order’s sender address. This is the first sender address found in this list:
- A sender address that was changed on the order itself
- The sender address selected at checkout, for orders placed through a checkout
- The
sender_address_idfrom your request - Your default sender address
- The
brand_idfrom your request. - No brand.
- Log in to your Sendcloud account and go to Settings > Addresses.
- Create a new sender address, or edit an existing one.
- Under Brands, select the brand you want to link to this address and Save.
Only one brand can be linked to a sender address. To ship from the same sender address under different brands, specify
the
brand_id in your request. With Ship an Order, this doesn’t work for orders where a shipping rule changes the
sender address.Where else brands are used
The brand of a shipment is also used in other parts of the API:- Retrieve a return portal URL returns a link to the Return portal of the shipment’s brand. The endpoint returns a
404error if no brand is applied to the shipment, if the brand has no Shipping Portal URL, or if the brand’s Return portal isn’t active. - Parcel tracking lets you set a
brand_idin thedetailsof parcels you register for tracking. - Parcel reports can be filtered by
brand_id, and can includebrand_idandbrand_namecolumns.