Service requests

Apply and track value-added services on a package (inbound) or shipment (outbound).

Availability: Sandbox / Gateway MOCK is live.

MethodPathScopePurpose
POST/v1/fulfillment/service-requestsshipment:createCreate Service Requests
GET/v1/fulfillment/service-requestswarehouse:readList Service Requests
GET/v1/fulfillment/service-requests/{id}warehouse:readGet Service Request
POST/v1/fulfillment/service-requests/{id}/confirmshipment:createConfirm Service Request

IDs: svc_*. Statuses: PENDING · AWAITING_CONFIRMATION · PROCESSING · COMPLETED · FAILED · CANCELLED.

List filters

GET /v1/fulfillment/service-requests query parameters:

ParamNotes
resource_typePACKAGE | SHIPMENT
resource_idExact match (e.g. pkg_*, shipment id)
service_codeExact VAS CODE (normalized to uppercase)
stageINBOUND | OUTBOUND
statusMulti: PENDING,COMPLETED or repeated status=
created_from / created_toFilter by created_at (ISO-8601)
page / page_sizeDefault 1 / 20, max page_size 100

Detail GET …/service-requests/{id} has no filters — lookup by id only.

Create Service Requests

Requests one or more value-added services for a warehouse package or shipment. Each requested service is created as an independent service request.

Batch create is atomic (validate all, then create all). Stage is derived from resource_type (PACKAGE→INBOUND, SHIPMENT→OUTBOUND). Mismatched codes → VALUE_ADDED_SERVICE_INVALID_STAGE.

Pricing is snapshotted at create time from the current VAS catalog.

Get Service Request

Returns the current status, pricing and execution result of a value-added service request, including photos, videos or inspection results when available.

Confirm

For quoted fees (AWAITING_CONFIRMATION): send { "fee_amount", "currency" } matching current pricing.amount. Idempotent when already confirmed.

Sandbox

svc_photo_completed · svc_inspection_failed · svc_video_processing · svc_reinforce_pending · svc_wooden_awaiting (¥35)

Get Support

Need integration help? Contact Developer Support at support@hiobuy.com · Response within 1–2 business days

Email support