Retailer Carrier Self Serve
{carrier-moniker}
{carrier-moniker}
{carrier-moniker}
{account-alias}
Returns list of carriers for the given retailer. Retailer would be derived from authorization token
Request parameters
Filters carriers based on the product. If not provided, carriers for all products would be returned in the response
Filters carriers on the capability. If not provided, carriers for all capabilities would be returned in the response
Request headers
Responses
Successful response
Body
Unique identifier for the retailer. List of retailers and corresponding monikers can be found in Hub. retailer_moniker
is derived from the authorization token
Unique identifier for the carrier. List of carriers and corresponding monikers can be found in Hub
Indicates whether the carrier has any active account for the retailer and carrier and product (if provided in request)
user who made the latest changes. To be derived from authorization token
date and time of the latest update
superset of all capabilities set up for account-aliases of this carrier and retailer
superset of all products set up for account-aliases of this carrier and retailer
superset of all carrier-services set up for account-aliases of this carrier and retailer
Bad Request
Unauthorized
Forbidden
{carrier-moniker}
Retrieve carrier services, configurations and accounts for the carrier.
Path variables
Request parameters
ISO 2 letter country code. If passed, api returns the carrier services servicing the country
Note - If a carrier service does not have any country restrictions, it will be returned for any country passed as param
Filters accounts based on the products. If not provided, all accounts for the carrier and retailer would be returned in the response
Filters accounts based on the capabilities. If not provided, all accounts for the carrier and retailer would be returned in the response
Request headers
Responses
OK
Bad Request
Unauthorized
Forbidden
{carrier-moniker}
Adds carrier services and configurations for a carrier-moniker and retailer
Path variables
Request headers
Request body
Responses
OK
Headers
Bad Request
Unauthorized
Forbidden
{carrier-moniker}
Deletes the carrier-service for the carrier-moniker and the retailer
Path variables
account-alias is unique per tenant
Request parameters
service-name of the carrier-service to be deleted
Responses
OK
Bad Request
Unauthorized
Forbidden
Not Found
Headers
Retreive carrier account details for account_alias. Response varies with the carrier
Request parameters
account-alias is unique per tenant
Responses
OK
Bad Request
Unauthorized
Forbidden
Not Found
Headers
Creates a new carrier account. Payload is specific to the carrier
Request headers
Request body
Responses
OK
Headers
Bad Request
Unauthorized
Forbidden
Creates a new carrier account. Payload is specific to the carrier
Request headers
Request body
Responses
OK
Headers
Bad Request
Unauthorized
Forbidden
{account-alias}
Deletes the carrier-account for account-alias
Path variables
account-alias is unique per tenant
Responses
OK
Bad Request
Unauthorized
Forbidden
Not Found
Headers
error origin e.g. narvar_reported
broad category of error.
Specific error code. Error codes defined in link - https://narvar-docs.readme.io/reference/carriers
Readable error message
error origin e.g. narvar_reported
Specific error code. Error codes defined in link - https://narvar-docs.readme.io/reference/carriers
Readable error message
Indicates if the service supports domestic or international shipment
Describes the label type and label size
Indicates the number of params that can be printed on the label.
Carrier Service
Name of the service
carrier service level configuration(restrictions). The schema would vary based on carrier
Description of the carrier service
Indicates whether the service is active
countries supported by the service
Status of the request
The name of the carrier whose configuration you are requesting
The name of the carrier service (e.g. FEDEX_GROUND
)
carrier level configuration(restrictions) of the carrier. The schema would vary based on carrier
Delivery Settings
carrier specific package types
Features supported by carrier. One of signature_required, proof_of_delivery_required, po_box, military_address, hazmat
signature_required - Signature required supported. Indicates whether the carrier supports collecting signature on delivery/pickup proof_of_delivery_required - Proof of delivery supported. Indicates whether the carrier supports collecting proof of delivery po_box - PO Box Address supported military_address - Military Address supported hazmat - Hazardous Material supported
Time window for an event. Should specify either start and end hours or start and end times. If both are specified, start and end times are preferred over hours as they are more specific.
In general specify time in local timezone rather than in UTC. If the date of the event needs to be extracted (e.g. where the required resolution is day), the day will be extracted in the local timezone rather than in UTC. So, delivery date for 2020-03-12 4:00 UTC is actually 2020-03-11 in PST.Weight properties
Start hours of the window (e.g. 14:00 ) in 24 hour time format.
End hours of the window (e.g. 14:30) in 24 hour time format.
Start time in local timezone with timezone
End time in local timezone with timezone
unique identifier for the account
list of capabilities setup for the account
list of products setup for the account
set of carrier_services enabled for the account_alias
Carrier Account Details
Unique Id generated by Samoa
Indicates whether the account is active. Mandatory field for creating new account. Optional for updating existing account
unique identifier for an account. Example : nike-auspost-label
Carrier Account Details
carrier for which this account is set
list of capabilities setup for the account
list of products setup for the account
Unique Id generated by Samoa
Indicates whether the account is active. Mandatory field for creating new account. Optional for updating existing account
unique identifier for an account. Example : nike-auspost-label
retailer for which this account is set. retailer_moniker
is derived from authorization token
Carrier Account Details
Unique identifier for the retailer. List of retailers and corresponding monikers can be found in Hub. retailer_moniker
is derived from the authorization token
The name of the carrier whose account you are requesting
list of capabilities setup for the account
list of products setup for the account
Unique Id generated by Samoa
Indicates whether the account is active. Mandatory field for creating new account. Optional for updating existing account
unique identifier for an account. Example : nike-auspost-label
Status of the request
Status of the request
Carrier Account Details
carrier for which this account is created
list of capabilities setup for the account
list of products setup for the account
Indicates whether the account is active
unique identifier for an account. Example : nike-auspost-label. Note - account_alias cannot be updated
credentials depend on the carrier-moniker. Any of the below should be used
carrier_services enabled for the account
Carrier Account Details
carrier for which this account is set
list of capabilities setup for the account. In case not passed, will be defaulted to existing capabilities for the account
list of products setup for the account. In case not passed, will be defaulted to existing products, for the account
Indicates whether the account is active
unique identifier for an account. Example : nike-auspost-label. Note - account_alias cannot be updated
list of capabilities setup for the account
list of products setup for the account
Retailer configuration overrides for carrier_services and their respective configurations
carrier level configuration to be overridden by the retailer. The schema would vary based on carrier
Carrier Service
Name of the service
carrier service level configuration(restrictions). The schema would vary based on carrier. Only properties updated by the retailer(i.e.delta) should be sent in the request
Indicates whether the service is active
countries supported by the service
Status of the request
The name of the carrier whose configuration you are requesting
The name of the carrier service (e.g. FEDEX_GROUND
)