Solicitudes de servicio
Solicita y sigue servicios de valor añadido en un paquete (inbound) o envío (outbound).
Availability: Sandbox / Gateway MOCK is live.
| Method | Path | Purpose |
|---|---|---|
| POST | /v1/fulfillment/service-requests | Crear |
| GET | /v1/fulfillment/service-requests | Listar |
| GET | /v1/fulfillment/service-requests/{id} | Detalle |
| POST | /v1/fulfillment/service-requests/{id}/confirm | Confirmar |
IDs: svc_*. Statuses: PENDING · AWAITING_CONFIRMATION · PROCESSING · COMPLETED · FAILED · CANCELLED.
Filtros de lista
Parámetros de consulta de GET /v1/fulfillment/service-requests:
| Param | Notas |
|---|---|
resource_type | PACKAGE | SHIPMENT |
resource_id | Exact match (e.g. pkg_*, shipment id) |
service_code | Exact VAS CODE (normalized to uppercase) |
stage | INBOUND | OUTBOUND |
status | Multi: PENDING,COMPLETED or repeated status= |
created_from / created_to | Filter by created_at (ISO-8601) |
page / page_size | Default 1 / 20, max page_size 100 |
El detalle GET …/service-requests/{id} no tiene filtros — solo por id.
Crear
Creación por lote atómica. PACKAGE→INBOUND, SHIPMENT→OUTBOUND. Catálogo: Value-added services.
Confirmar
Para tarifas cotizadas (AWAITING_CONFIRMATION): envía { "fee_amount", "currency" } igual a pricing.amount. Idempotente si ya está confirmado.
Get Support
Need integration help? Contact Developer Support at support@hiobuy.com · Response within 1–2 business days