Create a shipment customs

Attach a customs number to a shipment. Based on location like France, European Union,… the customs numbers is of a specific type and can have a status T, C or X.

Create shipment customs

post

Create shipment customs

Authorizations
Body
shipmentstring · uuidRequired
typestring | nullableRequired
statusstring · max: 1Required
numberstring · max: 255Required
dateany | nullableRequired
Responses
201Success
application/json
post
POST /shipment-customs HTTP/1.1
Host: api.one-record.fr
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 109

{
  "shipment": "123e4567-e89b-12d3-a456-426614174000",
  "type": "text",
  "status": "text",
  "number": "text",
  "date": null
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "shipment": "123e4567-e89b-12d3-a456-426614174000",
  "type": "text",
  "status": "text",
  "number": "text",
  "date": null,
  "createdAt": null,
  "updatedAt": null
}

Last updated