Delivery Point OTP Notification
POST /deliveryotpinfo — TMS API · Status Notification
Endpoint where delivery point (pick-up point / smart locker) companies report the one-time password (OTP) generated for the recipient to collect the shipment to TMS.
- Path does not include
/openapiprefix:POST /deliveryotpinfo. - Shipment is searched by
shipmentKeyin the account of the token; if the shipment is not a delivery point shipment, it is rejected. - If the same OTP is sent again, the record does not change and still returns success.
İstek gövdesi
otpCode(string, zorunlu): Recipient's collection code.shipmentKey(string, zorunlu): Shipment's ShipmentKey.otpCreatedDate(string<date-time>, zorunlu): Time when the code was generated.
Yanıtlar
- 200: OTP recorded
- 400: Model missing, shipment not found, or not a delivery point shipment
- 401: Token missing, invalid, or expired (empty response).
200 yanıt alanları
message(string): Result message.isSuccess(boolean): Is the operation successful.