v1

latestOpenAPI 3.1.0Proprietary2026-07-24710198.3 KB
Configuration

Select shipping rule for order

Apply shipping rules to select the best option for an order.

post/config/{shop_id}/shipping-rules/select/{order_id}

Path parameters

shop_idinteger required
Example:123

Shop ID

order_idinteger required
Example:789

Order ID

Request body

order_dataobject required

Order information

Example request

{
  "order_data": {
    "order_id": "ORD-2026-5678",
    "total_weight": 5,
    "destination_country": "MX"
  }
}

Response

Successful response

successboolean

Indicates if the request was successful

dataobject

Selected shipping option