Demandes de service
Demander et suivre des services à valeur ajoutée sur un colis (inbound) ou une expédition (outbound).
Availability: Sandbox / Gateway MOCK is live.
| Method | Path | Purpose |
|---|---|---|
| POST | /v1/fulfillment/service-requests | Créer |
| GET | /v1/fulfillment/service-requests | Lister |
| GET | /v1/fulfillment/service-requests/{id} | Détail |
| POST | /v1/fulfillment/service-requests/{id}/confirm | Confirmer |
IDs: svc_*. Statuses: PENDING · AWAITING_CONFIRMATION · PROCESSING · COMPLETED · FAILED · CANCELLED.
Filtres de liste
Paramètres de requête pour GET /v1/fulfillment/service-requests :
| Param | Notes |
|---|---|
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 |
Le détail GET …/service-requests/{id} n’a pas de filtres — recherche par id uniquement.
Créer
Création par lot atomique. PACKAGE→INBOUND, SHIPMENT→OUTBOUND. Catalogue : Value-added services.
Confirmer
Pour les frais quotés (AWAITING_CONFIRMATION) : envoyer { "fee_amount", "currency" } égal à pricing.amount. Idempotent si déjà confirmé.
Get Support
Need integration help? Contact Developer Support at support@hiobuy.com · Response within 1–2 business days