{"templateId":"api_docs","sharedDataIds":{"apiDocsStore":"api-docs-openapi/rategroup.yaml","sidebar":"sidebar-sidebars.yaml"},"props":{"definitionId":"openapi/rategroup.yaml","settings":{"baseUrlPath":"/openapi/rategroup"},"disableAutoScroll":true,"seo":{"title":"RateGroup APIs","description":"Pitney Bowes Shipping API, developers can integrate features such as comparing shipping rates from multiple carriers, creating and purchasing shipping labels, tracking packages, scheduling pickups, managing returns, and accessing other shipping features. These APIs also offers a variety of shipping services, including international shipping and multi-carrier rate shopping, which allows developers to choose the best carrier and rate for each shipment."},"dynamicMarkdocComponents":[],"metadata":{"type":"openapi","title":"RateGroup APIs","version":"1.0.0","description":"A RateGroup is used to automate carrier and service selection during shipment processing. Instead of explicitly passing a carrier and service in every request, you can pass a rateGroupId, and get the desired rate (for example, lowest cost or fastest delivery). <br/>\nRateGroups helps with:\n- Atomatic rate shopping across multiple carriers\n- Shipping decision depends on price, speed, or available services at runtime\n\n**How it works**<br/>\n- Create a RateGroup with a list of\n  - carrierCode (e.g., USPS, UPS, FedEx)\n  - serviceId (e.g., PM, FEDEX_GROUND, NDA) <br/>\n\n- Use the returned rateGroupId in\n  - Rate API:  to fetch the best available rate\n  - Create Shipment API:  to generate a shipment using the selected service\n\n- When a rateGroupId is provided in a request, carrier and service selection is handled internally based on the configured items.\n- Evaluation of carrier-service combinations is dynamic and may vary per request depending on shipment attributes such as origin, destination, and parcel details.\n- Only RateGroups with status active are considered for processing.\n- RateGroups are country-specific, and only applicable shipments are evaluated.\n\n> Read [How to Create RateGroup](/docs/rategroup-management/rategroup-guide).\n"},"compilationErrors":[],"markdown":{"partials":{},"variables":{"rbac":{"teams":["anonymous"]},"user":{},"remoteAddr":{"hostname":"docs.sendpro360.pitneycloud.com","port":4000,"ipAddress":"216.73.216.82"},"lang":"default_locale","env":{"PUBLIC_REDOCLY_BRANCH_NAME":"sp360comm/dev"}}},"pagePropGetterError":{"message":"","name":""}},"slug":"/openapi/rategroup","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}