Order Archive API

Order Archive API

Amasty\Orderarchive\Api\ArchiveProcessorInterface - class for managing order archives in backend:
  1. POST /V1/amastyMoveToArchive, method="moveToArchive" - move an order to archive;
  2. POST /V1/amastyMoveFromArchive, method="removeFromArchive" - remove an order from archive;
  3. POST /V1/amastyRemovePermanently, method="removePermanently" - delete the order completely.
      • Related Articles

      • Order Archive API

        1. Amasty\Orderarchive\Api\ArchiveProcessorInterface - class for managing orders and archives. POST /V1/amastyMoveToArchive, method="moveToArchive" - move an order to archive; POST /V1/amastyMoveFromArchive, method="removeFromArchive" - remove an ...
      • What Amasty extensions support API?

        Each Amasty extension that has API support, includes the etc/webapi.xml file. The webapi.xml file contains API configurations with the list of available API requests. For example, a request from the Custom Form module interface: 1 - endpoint URL; 2 - ...
      • Order Attributes API

        1. Amasty\Orderattr\Api\EntityDataRepositoryInterface - class for managing order attributes in the backend: POST /V1/amasty_orderattr/entityData, method="save" - create an attribute; PUT /V1/amasty_orderattr/entityData/:entityId, method="save" - edit ...
      • Extra Fee API

        1. Amasty\Extrafee\Api\TotalsInformationManagementInterface - class for managing cart totals for logged-in users: POST /V1/amasty_extrafee/carts/:cartId/totals-information, method="calculate" - calculate totals of a specific cart; POST ...
      • Gift Card API

        1. Amasty\GiftCard\Api\ImageRepositoryInterface - class for managing gift card images: POST /V1/amgcard/image, method="save" - save a gift card image; PUT /V1/amgcard/image/:id, method="save" - save a gift card image by ID; DELETE ...