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 an attribute;
- DELETE /V1/amasty_orderattr/entityData/:entityId, method="deleteById" - delete an attribute;
- GET /V1/amasty_orderattr/entityData, method="getById" - get information about an attribute;
- GET /V1/amasty_orderattr/entityData/all, method="getByOrderId" - get a list with attributes by order ID;
- GET /V1/amasty_orderattr/entityData/all, method="getList" - get a list with attributes.
2. Amasty\Orderattr\Api\CheckoutDataRepositoryInterface - class for managing order attributes on checkout for registered users:
- POST /V1/amasty_orderattr/checkoutData, method="save" - add an order attribute on checkout for a logged-in user.
3. Amasty\Orderattr\Api\GuestCheckoutDataRepositoryInterface - class for managing order attributes on checkout for logged-in users:
- POST /V1/amasty_orderattr/guestCheckoutData, method="save" - add an order attribute on checkout for a guest.
4. Amasty\Orderattr\Api\UploadFileInterface - class for managing file type order attributes:
- POST /V1/amasty_orderattr/uploadFile, method="upload" - upload a file as an order attribute.