feat(dashboard): shipping management (#6995)

**What**
- shipping flow
- shipping profile pages
- delete fulfillment set endpoint
- delete shipping profile endpoint
This commit is contained in:
Frane Polić
2024-04-16 13:42:56 +00:00
committed by GitHub
parent c3260a2c5a
commit 0a9b9b073d
62 changed files with 2501 additions and 12 deletions
@@ -291,6 +291,59 @@ export const v2Routes: RouteObject[] = [
},
],
},
{
path: "shipping",
lazy: () => import("../../v2-routes/shipping/locations-list"),
handle: {
crumb: () => "Shipping",
},
children: [
{
path: "location/:location_id",
children: [
{
path: "fulfillment-set/:fset_id",
children: [
{
path: "service-zones/create",
lazy: () =>
import(
"../../v2-routes/shipping/service-zone-create"
),
},
{
path: "service-zone/:zone_id",
children: [
{
path: "shipping-options/create",
lazy: () =>
import(
"../../v2-routes/shipping/shipping-options-create"
),
},
],
},
],
},
],
},
],
},
{
path: "shipping-profiles",
lazy: () =>
import("../../v2-routes/shipping/shipping-profiles-list"),
handle: {
crumb: () => "Shipping Profiles",
},
children: [
{
path: "create",
lazy: () =>
import("../../v2-routes/shipping/shipping-profile-create"),
},
],
},
{
path: "/customers",
handle: {