Skip to main content

Get Shipping Configuration

There are three important configurations regarding shipping:

  • shipping constraints
  • ground shipping
  • overnight shipping
  • minimum purchase order amount

Calling the endpoint

In order to get the current shipping configuration we need to make a GET request to the shipping-configuration resource and pass the api key as a query parameter:

curl -i https://sercies.rxrise.com/api/v1/shipping-configuration?apiKey=YOUR_API_KEY

Response Payload​

This will return us an object with the shipping constraints, ground shipping and overnight shipping

{
"groundShipping": 0,
"overnightShipping": 0,
"minimumOrderAmount": 0,
"shippingConstraints": "AZ,CA"
}