Referencia de API
Listar opciones de envío del carrito
GET
/v1/carts/{cartToken}/shipping-optionsParámetros de ruta
cartToken*string
Token opaco que identifica el carrito.
Parámetros de consulta
postalCode?string
scheduledDate?string
Formato
datescheduledTime?string
Formato
timeCuerpo de la respuesta
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/v1/carts/string/shipping-options"{ "groups": [ { "sellerId": null, "shippingProfileId": null, "orderAmount": 0.1, "totalWeight": 0.1, "itemIds": [], "rates": [ { "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": {} } ] } ]}