6. Cancel Package

You can use this method to cancel one or more item in Order Package.

  • Each order package has a PackageID value. If one of the item is cancelled in the package,the package will be split automatically and new PackageID will be generated and assigned to the new package.
  • If you would like to keep the package status same, "shouldKeepPreviousStatus field should be marked as "true", otherwise (if you send this field "false") new packages will be generated on "created" status.
  • The default value of "shouldKeepPreviousStatus" is "false". If you do not send this field, it will be marked as "false"
  • You need to send "storeFrontCode" as Header Parameter.

PUT updatePackage

Sample Service Request

{
 "lines": [
   {
     "lineId": 0,
     "quantity": 0
   }
 ],
"reasonId":0,
"shouldKeepPreviousStatus": true
 }

Cancellation Reasons

reasonIdnamedescription
500Stock OutIt should be selected if the product cannot be supplied due to reasons such as out of stock and shipping delays.
501Faulty/damaged productIt should be selected if the product cannot be sent because it is defective/defective/broken.
502Wrong priceIt should be selected in case the wrong price is fed.
503Incorrect image/barcode/quantityIt should be selected in case there are different products defined with the same barcode in the Trendyol system, the product is listed with an incorrect image, the product information contains incorrect content (a 2-pack product is sold with a single product barcode, etc.).
504Integration errorIt should be selected in case of incorrect prices or problems in stock transfer due to the integration company.
505Bulk purchaseIt should be selected if a single product is purchased in bulk by the same customer after the discount on the product.
506Force majeureNatural disaster, illness, funeral, etc. should be selected in such cases.