POST
request, with the delivery challan ID included in the URL. The request body should contain the updated details for the delivery challan.ApiKey: ********************
{
"challan_number": 1,
"challan_date": "12-02-2025",
"party_ledger_id": 2702,
"gstin": "06AAKCA6445Q1Z2",
"party_phone_number": "9521453010",
"region_iso": "in",
"region_code": 91,
"invoice_number": null,
"invoice_date": null,
"dispatch_address_id": null,
"billing_address": {
"address_1": "172/5, , Coastal City Center",
"address_2": "Undi Road, Bhimavaram town and Municipality",
"country_id": 1,
"state_id": 2,
"city_id": 1,
"pin_code": "395010"
},
"shipping_address": {
"shipping_name": null,
"shipping_gstin": null,
"address_1": "",
"address_2": "",
"country_id": 1,
"state_id": 2,
"city_id": 2,
"pin_code": "395010"
},
"broker_details": {
"broker_id": null,
"brokerage_for_sale": null,
"brokerage_on_value_type": 1
},
"transport_details": {
"transport_id": 1,
"transporter_document_number": "212",
"transporter_document_date": "12-10-2024",
"transporter_vehicle_number": "GJ05-SG-1234"
},
"other_details": {
"po_no": "FASG522",
"po_date": "10-12-2024",
"credit_period": "30",
"credit_period_type": 2
},
"items": [
{
"item_id": 1,
"additional_description": "test",
"unit_id": 1,
"quantity": 1
}
],
"narration": null,
"term_and_condition": null,
"delivery_challan_document": null
}
curl --location --request POST 'https://app.hisabkitab.co/third-party/delivery-challan-transactions/1' \
--header 'Content-Type: application/json' \
--header 'ApiKey;' \
--data-raw '{
"challan_number": 1,
"challan_date": "12-02-2025",
"party_ledger_id": 2702,
"gstin": "06AAKCA6445Q1Z2",
"party_phone_number": "9521453010",
"region_iso": "in",
"region_code": 91,
"invoice_number": null,
"invoice_date": null,
"dispatch_address_id": null,
"billing_address": {
"address_1": "172/5, , Coastal City Center",
"address_2": "Undi Road, Bhimavaram town and Municipality",
"country_id": 1,
"state_id": 2,
"city_id": 1,
"pin_code": "395010"
},
"shipping_address": {
"shipping_name": null,
"shipping_gstin": null,
"address_1": "",
"address_2": "",
"country_id": 1,
"state_id": 2,
"city_id": 2,
"pin_code": "395010"
},
"broker_details": {
"broker_id": null,
"brokerage_for_sale": null,
"brokerage_on_value_type": 1
},
"transport_details": {
"transport_id": 1,
"transporter_document_number": "212",
"transporter_document_date": "12-10-2024",
"transporter_vehicle_number": "GJ05-SG-1234"
},
"other_details": {
"po_no": "FASG522",
"po_date": "10-12-2024",
"credit_period": "30",
"credit_period_type": 2
},
"items": [
{
"item_id": 1,
"additional_description": "test",
"unit_id": 1,
"quantity": 1
}
],
"narration": null,
"term_and_condition": null,
"delivery_challan_document": null
}'
{
"data": {
"delivery_challan_transaction": {
"id": 1,
"company_id": 6,
"number_for_challan": "1",
"challan_number": 1,
"challan_date": "2025-02-05T18:30:00.000000Z",
"party_ledger_id": 1,
"party_phone_number": "9521453010",
"region_iso": "in",
"region_code": 91,
"gstin": "06AAKCA6445Q1Z2",
"invoice_number": null,
"invoice_date": null,
"broker_id": null,
"brokerage": null,
"brokerage_on_value_type": 1,
"transport_id": null,
"transporter_document_number": "212",
"transporter_document_date": "2024-10-11T18:30:00.000000Z",
"transporter_vehicle_number": "GJ05-SG-1234",
"po_no": "FASG522",
"po_date": "2024-12-09T18:30:00.000000Z",
"narration": null,
"term_and_condition": null,
"dispatch_address_id": null,
"status": "Open",
"shipping_gstin": null,
"shipping_name": null,
"transaction_items": [
{
"id": 1,
"transaction_id": 1,
"item_id": 2,
"unit_id": 1,
"quantity": 1,
"additional_description": "test",
"consolidating_items_to_invoice": null,
"created_at": "2025-01-28T10:27:56.000000Z",
"updated_at": "2025-01-28T10:27:56.000000Z"
}
]
},
"via_api": false,
"is_import": false,
"created_by": 1,
"created_at": "2025-01-28T10:27:12.000000Z",
"updated_at": "2025-01-28T10:27:56.000000Z",
"deleted_by": null,
"deleted_at": null
},
"success": true,
"message": "Delivery Challan Transaction Updated Successfully"
}