Skip to main content
PUT
/
api
/
public
/
deliveries

Save Delivery

Creates a new delivery record or updates an existing one. Used when the space operator logs incoming parcels.

Authentication

Requires a valid customer bearer token.

Request Body

Delivery details including sender and tracking information.

Response

Returns a 200 OK on success.

Examples

Save a delivery

PUT /api/public/deliveries
Authorization: Bearer {token}
Content-Type: application/json

{
  "SenderName": "Amazon",
  "TrackingNumber": "TRK123456"
}

TypeScript Integration

import endpoints from '@/api/endpoints'

await httpClient.put(endpoints.deliveries.save, deliveryData)