Sale Channels
Description
Sale Channels provides the administration layer for channel records used by commercial integrations and outbound order flows.
The package exposes CRUD, options, and table APIs for sale channels and publishes factories and seeders for local environment setup.
It is intended for applications that need distinct operational channels such as storefronts, marketplaces, or fulfillment streams referenced by downstream integrations.
Installation
Install the package:
composer require laravel-enso/sale-channels
Run the package migrations:
php artisan migrate
Optional publishes:
php artisan vendor:publish --tag=sale-channels-seeders
Features
- Sale channel CRUD, options, table init, table data, and Excel export endpoints.
- Backoffice forms and tables through Enso form and table builders.
- Published seeders for local bootstrap flows.
Usage
Main route group:
administration.saleChannels.*
Use the options endpoint when another package needs to bind a sale channel select field.
API
HTTP routes
GET api/administration/saleChannels/createPOST api/administration/saleChannelsGET api/administration/saleChannels/{saleChannel}/editPATCH api/administration/saleChannels/{saleChannel}DELETE api/administration/saleChannels/{saleChannel}GET api/administration/saleChannels/initTableGET api/administration/saleChannels/tableDataGET api/administration/saleChannels/exportExcelGET api/administration/saleChannels/options
Depends On
Required Enso packages:
laravel-enso/core↗laravel-enso/dynamic-methods↗laravel-enso/forms↗laravel-enso/migrator↗laravel-enso/rememberable↗laravel-enso/select↗laravel-enso/tables↗
Companion frontend package: