Saltar al contenido
Guías
Referencia de API
establesettings:read

Listar tarifas de envío disponibles

POST/v1/shipping/rates/available

Autorización

bearerAuth
AutorizaciónBearer <token>

Token de acceso OAuth 2.0 emitido por Ecomiq Auth.

Ubicación: header

Cuerpo de la solicitud

application/json

Definiciones TypeScript

Usa esta definición en TypeScript.

Cuerpo de la respuesta

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/v1/shipping/rates/available" \  -H "Content-Type: application/json" \  -d '{    "storeId": "string",    "orderAmount": 0.1,    "postalCode": null,    "totalWeight": 0.1,    "sellerId": null,    "shippingProfileId": null  }'
[  {    "shippingMethodId": "string",    "name": "string",    "displayName": "string",    "type": "regular",    "price": 0.1,    "currency": "string",    "sortOrder": 0,    "rateId": null,    "description": null,    "deliveryLocationId": null,    "deliveryLocationName": null,    "deliveryLeadTimeInMinutes": null,    "deliveryMinHours": null,    "deliveryMaxHours": null,    "deliveryInstructions": null,    "deliveryPostalCodes": [      "string"    ],    "deliveryZoneName": null,    "deliveryZonePostalCodes": [      "string"    ],    "deliveryZoneRadiusKm": null,    "estimatedDeliveryDays": null,    "estimatedDeliveryHours": null,    "estimatedDeliveryFromDate": null,    "estimatedDeliveryToDate": null,    "isLiveQuote": true,    "serviceCode": null,    "serviceName": null,    "metadata": {}  }]