Update a shipment operator

Update a shipment operator

put

Update a shipment operator

Authorizations
Path parameters
idstringRequired
Body
codestring · enumOptionalPossible values:
addressstring | nullableOptional
addressComplementarystring | nullableOptional
postalCodestring | nullableOptional
citystring | nullableOptional
namestring | nullableOptional
contactstring | nullableOptional
emailstring · email | nullableOptional
telstring | nullableOptional
faxstring | nullableOptional
phonestring | nullableOptional
agreementNumberstring | nullableOptional
agreementValidityany | nullableOptional
societystring · max: 255Optional
countrystring · enumOptionalPossible values:
Responses
200Success
application/json
put
PUT /shipment-operator/{id} HTTP/1.1
Host: api.one-record.fr
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 387

{
  "code": "CONSIGNEE",
  "address": "text",
  "addressComplementary": "text",
  "postalCode": "text",
  "city": "text",
  "name": "text",
  "contact": "text",
  "email": "name@gmail.com",
  "tel": "text",
  "fax": "text",
  "phone": "text",
  "agreementNumber": "text",
  "agreementValidity": null,
  "society": "text",
  "country": "AD",
  "comment": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "comment": "text",
    "createdAt": null,
    "updatedAt": null
  }
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "shipment": "123e4567-e89b-12d3-a456-426614174000",
  "society": "text",
  "country": "AD",
  "code": "CONSIGNEE",
  "address": "text",
  "addressComplementary": "text",
  "postalCode": "text",
  "city": "text",
  "name": "text",
  "contact": "text",
  "email": "name@gmail.com",
  "tel": "text",
  "fax": "text",
  "phone": "text",
  "agreementNumber": "text",
  "agreementValidity": null,
  "createdAt": null,
  "updatedAt": null
}

Last updated