PUT /v1/superadmin/management/shiping-center/{id}| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | ✅ | ID Shipping Center yang ingin diperbarui |
| Header | Value | Description |
|---|---|---|
Authorization | Bearer <token> | JWT token SUPER_ADMIN |
curl --location --request PUT 'https://v1.dev.bukalombok.com/v1/superadmin/management/shiping-center/GMzGTOoXqoc26cx' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Shipping Center Loteng 2",
"radiusKm": 10,
"code": "SC-LT-706",
"phone": "9123456780993",
"managerName": "Joko",
"status": "PUBLISHED",
"dcId": null,
"email": "jhonDoe@shippingcenter.com",
"isActive": true
}'{
"meta": {
"success": true,
"status": 200,
"message": "Shiping Center berhasil diperbarui"
},
"data": {
"id": "rfIyQGuggiOQ4Kj",
"name": "Shipping Center Loteng 2",
"radiusKm": 10,
"code": "SC-LT-706",
"phone": "9123456780993",
"managerName": "Joko",
"status": "PUBLISHED",
"dcId": null,
"email": "jhonDoe@shippingcenter.com",
"isActive": true
}
}