本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
shipment.creating & shipment.cancelled. completed | تم التنفيذGenerate Policy | اصدار بوليصة buttonshipment.creating, will be triggered and sent to your shipping app. As a result, you will be able to use the shipment information, such as the recipient's address and the items being shipped, to create the shipment and set up the delivery process, and the Merchant will be able to download the shipment policy.shipment.creating event is firedcost variable, containing the actual cost value of the Shipping that the Merchant will be charged for, which is calculated per the shipping App's actual costs. Ensure to include VAT in the cost."shipment_number" and "status"values åre required and must match the value used in the first update shipment request. The rest of the parameters are optional."created""shipped""delivering""delivered""in_progress""cancelled""shipped", "delivering", or "delivered", the status cannot be updated to "created" nor "in_progress"shipment.creating will be triggered with the type value set to return in the payload.restoring or restoredGenerate Return Policy | اصدار بوليصة ارجاع buttonshipment.creating event is fired with the "type" variable set to "return".type value set to return or shipment, depending on the canceled shipment.shipment.cancelled, will be triggered and sent to the shipping app, which then will be able to access the updated shipment information and handle the cancellation process.