Quote API — Store Allocator
Quote API — Store Allocator
Quote API — Store Allocator
The Quote Delivery endpoint supports automatic store selection as part of the quoting process. Rather than specifying a single store_id or store_reference, you can pass a list of candidate stores and instruct Rendr to calculate the best fulfilment location on your behalf.
Set rendr_store_allocator: true in your quote request alongside an array of store_ids or store_references. Rendr evaluates each candidate store against the delivery destination using your configured location selection strategy and returns a single store_id in the response representing the optimal fulfilment location.
This removes the need to call the Allocation API separately before quoting — the allocation is resolved inline as part of the quote.
Extend a standard quote request with the following fields:
*Either store_ids or store_references is required when rendr_store_allocator is true.
The response follows the standard Quote Delivery structure with the addition of a store_id field at the top level, indicating the store Rendr selected as the best fulfilment location.
The store_id returned in the response should be used as the store_id in your subsequent Create Delivery request to ensure the order is assigned to the correct fulfilment location.