Returns
Order returns. The status changes through the set_status action.
Module: Online shop (shop).
Endpoints
Section titled “Endpoints”GET /api/v1/shop_returns- List with filters, sorting and pagination (scopeshop:read)GET /api/v1/shop_returns/{id}- A record by id (scopeshop:read)POST /api/v1/shop_returns/{id}/set_status- Changes the return’s status. (scopeshop:write)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).channel_id(string, uuid; read)order_id(string, uuid; read)status(string; read)reason(string; read)staff_note(string; read)requested_by(string; read)created_at(string, date-time; read): Creation date (ISO 8601).updated_at(string, date-time; read): Last modification date (ISO 8601).
Events
Section titled “Events”shop_returns.createdshop_returns.updatedshop_returns.deleted