/ShippingProfile GET

Returns the Profile Type when given a ShippingProfileID

URL
/ShippingProfile/{shippingProfileID}
Verb
GET

Headers

Header Data Type Valid Values Required Description
Content-Type string application/json YES The format your data will be sent to our site.
X-DevKey string string YES The devkey assigned to the developer.
X-AccessToken string string Optional The token acquired from a POST to Users/AccessToken.

Input

NOTE: Variables to place in the body of the request.

Parameter Data Type Valid Values Description
shippingProfileID integer positive # ID belonging to the Shipping Profile to look up

Output

If there are no errors with the input parameters, this call will respond with a 200 OK and the following data as serialized JSON

Parameter Data Type Valid Values Description
shippingProfileID integer positive # ID belonging to shipping profile
profileType integer positive # Enum id belonging the type of shipping profile
weightUnit integer 1 - Pounds
2 - Kilograms
The unit of weight of the item. NOTE: Null will be returned if shipping profile is not weight based.