Shipping Preferences API
Use these APIs to manage your shipping preferences on ValoreBooks.
Note: This API is used for both creating and updating your shipping preferences. When updating shipping preferences, at least one field is required.
Routes
https://test.valorebooks.com/buyer/shippinginfo (qa)
https://api.valorebooks.com/buyer/shippinginfo (production)
POST
Set your shipping preferences
Parameters
Name
Located in
Description
Type
Content-Type
header
String
receivingInformation
body
Contains shipping address and contact information
Object
shippingAddress
receivingInformation
Contains shipping address information
Object
name
shippingAddress
Name of shipping address
String
line1
shippingAddress
50 character maximum first line of shipping address
String
line2
shippingAddress
Second line of shipping address
String
city
shippingAddress
City of shipping address
String
state
shippingAddress
Two letter USA or CAN state/province abbreviation of shipping address (e.g. MA, BC)
String
country
shippingAddress
USA or CAN (defaults to USA if not already set and not included in request)
String
postalCode
shippingAddress
USA or CAN postal code of shipping address (e.g. 02210, 02210-1014, or R3T 2N2)
String
hasLoadingDock
shippingAddress
YES, NO, or NOT_SURE (case-insensitive)
String
contact
receivingInformation
Contains contact information
Object
name
contact
Name of contact
String
email
contact
Email address of contact
String
phone
contact
10 digit phone number of contact (3125550101)
String
shippingPreferences
body
Contains notes, and freight and/or parcel carrier info
Object
freightCarrier
shippingPreferences
Contains freight carrier information (optional if parcelCarrier is provided)
Object
parcelCarrier
shippingPreferences
Contains parcel carrier information (optional if freightCarrier is provided)
Object
carrierName
freightCarrier or parcelCarrier
FedEx, USPS, UPS, DHL, or a 50 character maximum custom carrier name
String
accountNumber
freightCarrier or parcelCarrier
Your 50 character maximum carrier account number
String
contact
freightCarrier or parcelCarrier
Contains carrier contact information (Required for custom carriers only)
Object
name
contact
The 50 character maximum name of the carrier contact (Required for custom carriers only)
String
email
contact
The 50 character maximum email of the carrier contact (Required for custom carriers only)
String
phone
contact
The 50 character maximum phone number of the carrier contact (Required for custom carriers only)
String
notes
shippingPreferences
Additional notes about shipping preferences (Required when both parcelCarrier and freightCarrier are provided)
String
Request Examples
Creating the shipping preferences
Responses
200
Your shipping preferences have been set
400
There was an error with your request
500
An internal error occurred
403
Your AWS credentials are not correct
POST Set your shipping preferences
Parameters
Name | Located in | Description | Type |
---|---|---|---|
Content-Type | header | String | |
receivingInformation | body | Contains shipping address and contact information | Object |
shippingAddress | receivingInformation | Contains shipping address information | Object |
name | shippingAddress | Name of shipping address | String |
line1 | shippingAddress | 50 character maximum first line of shipping address | String |
line2 | shippingAddress | Second line of shipping address | String |
city | shippingAddress | City of shipping address | String |
state | shippingAddress | Two letter USA or CAN state/province abbreviation of shipping address (e.g. MA, BC) | String |
country | shippingAddress | USA or CAN (defaults to USA if not already set and not included in request) | String |
postalCode | shippingAddress | USA or CAN postal code of shipping address (e.g. 02210, 02210-1014, or R3T 2N2) | String |
hasLoadingDock | shippingAddress | YES, NO, or NOT_SURE (case-insensitive) | String |
contact | receivingInformation | Contains contact information | Object |
name | contact | Name of contact | String |
contact | Email address of contact | String | |
phone | contact | 10 digit phone number of contact (3125550101) | String |
shippingPreferences | body | Contains notes, and freight and/or parcel carrier info | Object |
freightCarrier | shippingPreferences | Contains freight carrier information (optional if parcelCarrier is provided) | Object |
parcelCarrier | shippingPreferences | Contains parcel carrier information (optional if freightCarrier is provided) | Object |
carrierName | freightCarrier or parcelCarrier | FedEx, USPS, UPS, DHL, or a 50 character maximum custom carrier name | String |
accountNumber | freightCarrier or parcelCarrier | Your 50 character maximum carrier account number | String |
contact | freightCarrier or parcelCarrier | Contains carrier contact information (Required for custom carriers only) | Object |
name | contact | The 50 character maximum name of the carrier contact (Required for custom carriers only) | String |
contact | The 50 character maximum email of the carrier contact (Required for custom carriers only) | String | |
phone | contact | The 50 character maximum phone number of the carrier contact (Required for custom carriers only) | String |
notes | shippingPreferences | Additional notes about shipping preferences (Required when both parcelCarrier and freightCarrier are provided) | String |