removedInput schema / $schema
Removed value: -"http://json-schema.org/draft-07/schema#"
removedInput schema / additionalProperties
Removed value: -false
removedInput schema / properties / codAmount
Removed value: -{
- "description": "Cash-on-delivery amount in BDT (0 = prepaid).",
- "minimum": 0,
- "type": "number"
-}
addedInput schema / properties / cod_amount
Added value: +{
+ "description": "Cash on delivery amount in BDT (0 if prepaid)",
+ "type": "number"
+}
removedInput schema / properties / courier / default
Removed value: -"steadfast"
changedInput schema / properties / courier / description
Previous value: -"Which courier to book with."New value: +"Target courier or 'auto' for AI smart routing (default: auto)"
changedInput schema / properties / courier / enum
Previous value: -[
- "steadfast",
- "pathao",
- "redx",
- "paperfly"
-]New value: +[
+ "steadfast",
+ "pathao",
+ "redx",
+ "paperfly",
+ "auto"
+]
addedInput schema / properties / delivery_area_id
Added value: +{
+ "description": "RedX only: numeric delivery-area id (auto-resolved from the address if omitted)",
+ "type": "number"
+}
changedInput schema / properties / invoice / description
Previous value: -"Your unique order/invoice id (idempotency key)."New value: +"Unique order invoice number (e.g. INV-1002)"
removedInput schema / properties / invoice / minLength
Removed value: -1
removedInput schema / properties / itemDescription
Removed value: -{
- "type": "string"
-}
addedInput schema / properties / item_type
Added value: +{
+ "description": "What's inside the parcel (used by RedX)",
+ "type": "string"
+}
addedInput schema / properties / item_weight
Added value: +{
+ "description": "Parcel weight in KG (default: 0.5)",
+ "type": "number"
+}
removedInput schema / properties / meta
Removed value: -{
- "additionalProperties": {},
- "description": "Courier-specific extras. Pathao: { storeId, cityId, zoneId, areaId }.",
- "type": "object"
-}
addedInput schema / properties / note / description
Added value: +"Special instructions for delivery rider"
addedInput schema / properties / pickup_store_id
Added value: +{
+ "description": "RedX only: your pickup store id (optional)",
+ "type": "number"
+}
removedInput schema / properties / recipientAddress
Removed value: -{
- "minLength": 1,
- "type": "string"
-}
removedInput schema / properties / recipientName
Removed value: -{
- "minLength": 1,
- "type": "string"
-}
removedInput schema / properties / recipientPhone
Removed value: -{
- "pattern": "^01\\d{9}$",
- "type": "string"
-}
addedInput schema / properties / recipient_address
Added value: +{
+ "description": "Delivery address (Thana, District, Street)",
+ "type": "string"
+}
addedInput schema / properties / recipient_name
Added value: +{
+ "description": "Customer full name",
+ "type": "string"
+}
addedInput schema / properties / recipient_phone
Added value: +{
+ "description": "11-digit Bangladeshi mobile number (e.g. 017XXXXXXXX)",
+ "type": "string"
+}
addedInput schema / properties / value
Added value: +{
+ "description": "Declared parcel value in BDT (used by RedX; defaults to the COD amount)",
+ "type": "number"
+}
changedInput schema / required
Previous value: -[
- "invoice",
- "recipientName",
- "recipientPhone",
- "recipientAddress",
- "codAmount"
-]New value: +[
+ "invoice",
+ "recipient_name",
+ "recipient_phone",
+ "recipient_address",
+ "cod_amount"
+]