diff --git a/public/navigation.json b/public/navigation.json index 91901869c..e5c63f055 100644 --- a/public/navigation.json +++ b/public/navigation.json @@ -9481,6 +9481,46 @@ } ] }, + { + "name": "VTEX Shipping Network API", + "slug": "vtex-shipping-network-api", + "origin": "", + "type": "openapi", + "children": [ + { + "name": "Notification", + "slug": "vtex-shipping-network-api-notification", + "type": "category", + "children": [ + { + "name": "Notify Carrier with App", + "slug": "vtex-shipping-network-api", + "type": "openapi", + "method": "POST", + "origin": "", + "endpoint": "/app_name-/v-app_version-/-account-/-workspace-/notify", + "children": [] + } + ] + }, + { + "name": "Tracking", + "slug": "vtex-shipping-network-api-tracking", + "type": "category", + "children": [ + { + "name": "Tracking Events with App", + "slug": "vtex-shipping-network-api", + "type": "openapi", + "method": "POST", + "origin": "", + "endpoint": "/-app_name-/v-app_version-/-account-/-workspace-/tracking", + "children": [] + } + ] + } + ] + }, { "name": "VTEX Tracking APIs", "slug": "tracking", diff --git a/src/pages/api/openapi/[slug].tsx b/src/pages/api/openapi/[slug].tsx index f793f6d50..e2921e1b9 100644 --- a/src/pages/api/openapi/[slug].tsx +++ b/src/pages/api/openapi/[slug].tsx @@ -52,6 +52,7 @@ const referencePaths = objectFlip({ 'VTEX - Tracking': 'tracking', 'VTEX - VTEX Do API': 'vtex-do-api', 'VTEX - VTEX ID API': 'vtex-id-api', + 'VTEX - VTEX Shipping Network API': 'vtex-shipping-network-api', }) function objectFlip(obj: { [x: string]: string }) { diff --git a/src/utils/getReferencePaths.ts b/src/utils/getReferencePaths.ts index de667d733..222b13c47 100644 --- a/src/utils/getReferencePaths.ts +++ b/src/utils/getReferencePaths.ts @@ -65,6 +65,7 @@ const fileSlugMap = { 'VTEX - Tracking': 'tracking', 'VTEX - VTEX Do API': 'vtex-do-api', 'VTEX - VTEX ID API': 'vtex-id-api', + 'VTEX - VTEX Shipping Network API': 'vtex-shipping-network-api', } export default async function getReferencePaths() {