Update a shipping address.
cURL
curl --request PUT \ --url https://api.buybase.ai/shipping/update/{id} \ --header 'Content-Type: application/json' \ --header 'authorization: <authorization>' \ --data '{ "shipping_address": { "first_name": "<string>", "last_name": "<string>", "email": "<string>", "phone": "<string>", "address_1": "<string>", "address_2": "<string>", "city": "<string>", "country_code": "<string>", "province_code": "<string>", "postal_code": "<string>" } }'
{ "success": true, "shipping": { "id": "ship_12345", "first_name": "John", "last_name": "Smith", "email": "john.smith@example.com", "phone": "+1234567890", "address_1": "456 Park Ave", "address_2": "Suite 789", "city": "New York", "country_code": "US", "province_code": "NY", "postal_code": "10022", "profile_id": "prof_67890", "updated_at": "2023-09-16T10:15:22Z" }, "id": "ship_12345", "code": "SHIPPING_UPDATED" }
Show Shipping Address Object
Show Shipping address properties
SHIPPING_UPDATED
SHIPPING_UPDATE_FAILED