A common frustration in e-commerce occurs when a customer discovers at checkout that items in their cart cannot be delivered to their region. The fulfillmenttoolsfulfillability endpoint provides a tool for LU.XY to prevent this scenario for its customers.
Ship from store
The platform offers two ways to provide information about whether an order is fulfillable to a customer's location: one based only on address and date, and another that also includes the requested items.
Both options are valuable for the LU.XY web shop to enhance the customer experience. This is achieved with the following API call:
POST https://{YOUR-TENANT-NAME}.api.fulfillmenttools.com/api/fulfillability
To get more detailed information, the LU.XY shop frontend can query a dedicated endpoint to receive specific ship-from-store options. The call to the ship-from-storefulfillability endpoint is structured as follows:
POST https://{YOUR-TENANT-NAME}.api.fulfillmenttools.com/api/fulfillability/shipfromstore
The request specifies the desired articles and the shipping destination. If delivery is possible, the API returns a 200 OK response containing a list of fulfillment options:
200 OK response
In this case, the order can be fulfilled from either the Dutch or German central warehouses.