Update consignment address
POST /openapi/Consignment/UpdateConsignmentAddress — TMS API · Consignment Update and Cancellation
Updates the delivery address of registered consignments. Each item is identified by consignmentNumber and
locationCode; the new address is sent within shippingAddress.
İstek gövdesi
clientCode(string, zorunlu): Organization code.accountCode(string, zorunlu): Account code.consignments(object[], zorunlu): Consignments whose address will be updated.consignments.locationCode(string): Consignment origin location code.consignments.shippingAddress(object)consignments.shippingAddress.email(string): Email.consignments.shippingAddress.phone(string): Landline phone.consignments.shippingAddress.zipCode(string): Postal code.consignments.shippingAddress.lastName(string): Recipient last name.consignments.shippingAddress.firstName(string): Recipient first name.consignments.shippingAddress.toLocation(string[]): Address hierarchy:[country, city, district, neighborhood]. City/district/neighborhood names must match the codes in the Master Data endpoints.consignments.shippingAddress.addressCode(string): Unique code of the address in your system.consignments.shippingAddress.mobilePhone(string): Mobile phone.consignments.shippingAddress.addressLine1(string): Street address.consignments.shippingAddress.addressLine2(string): Street address continuation.consignments.shippingAddress.customerCode(string): Customer's unique code in your system.
consignments.consignmentNumber(string): Consignment number.
Yanıtlar
- 200: Address updated
- 400: Validation error
- 401: Token missing, invalid, or expired (empty response body).