Cancel Lead

View as Markdown
# Cancel Lead - Ön Sipariş İptal Sipariş takip numarası ile ön siparişi iptal eder. ## Path Parameters | Parametre | Tip | Açıklama | | --- | --- | --- | | `{leadId}` | int | Sipariş takip numarası | ## İş Kuralları 1. Sipariş durumu "new" olmalıdır 2. Sipariş daha önce iptal edilmiş olamaz. 3. Siparişe bağlı cihazların durumu "new" olmalıdır (işlem gören cihaz varsa iptal edilemez) ## Response İptal edilen siparişin durumu "Cancelled" olarak güncellenir.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Response

OK
statusstring
dataobject
metadataobject

Errors

400
Bad Request Error
404
Not Found Error