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

Listar opciones de envío del borrador

GET/v1/order-drafts/{draftId}/shipping-options

Autorización

bearerAuth
AutorizaciónBearer <token>

Token de acceso OAuth 2.0 emitido por Ecomiq Auth.

Ubicación: header

Parámetros de ruta

draftId*string

Parámetros de consulta

sellerId?null|string
shippingProfileId?null|string
scheduledDate?string
Formatodate
scheduledTime?string
Formatotime

Cuerpo 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/order-drafts/string/shipping-options"
[  {    "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": {}  }]