Promotions & Discount
See available sales discounts and rates promotions.
Last updated
See available sales discounts and rates promotions.
Last updated
The Promotions feature allows users to apply discounts to shipment rates. The SHiiP sales team can create unique promo codes tailored to specific shipment types, date ranges, weight limits, or geographical restrictions (such as countries and states).
To determine if any discounts are available for your customers or to apply them via an endpoint before booking a shipment, follow these three steps:
Retrieve Promotions: Use the endpoint to fetch all available promo codes.
Apply a Promo Code: Select the desired discount code and call the apply
endpoint to activate it for your shipment.
Attach Discount Payload: Include a sample discount payload in the endpoint request to ensure the discount is successfully applied on our end.
This is used to get all available promotions that could be used.
Select a promotion code and apply a discount.
Field
Type
Required
Validation Rules
Description
code
String
Yes
A unique code representing a promotion
amount
Integer
Yes
Must be a positive integer.
The shipment rate selected
fromCountryCode
String
Yes
Must be a valid string and a valid country_code
Country the shipment originates from
toCountryCode
String
Yes
Must be a valid string and a valid country_code
Country the shipment is being sent to
shipmentType
String
Yes
Must be a string
Type of shipment, e.g., interstate
, international
.
weight
String
Yes
Must be a string
Weight of the shipment, typically in kilograms.
courier
String
Yes
Must be a string
The courier service handling the shipment.
Must be a valid string, gotten from the all response
After successfully applying the discount code, use the payload below when calling the endpoint. This ensures the discount is properly applied when the shipment is processed by our system.