summaryrefslogtreecommitdiff
path: root/src/lib/treckingAwb/api/getManifest.js
blob: 7d78a5f2254a9f9c428f27b4917e23bd25e57288 (plain)
1
2
3
4
5
6
7
8
9
const { default: odooApi } = require("@/core/api/odooApi")
const { getAuth } = require("@/core/utils/auth")

export const getManifest = async ({id}) => {
    const auth = getAuth() 
    const manifest = await odooApi('GET', `/api/v1/partner/${auth.partnerId}/stock-picking/${id}/tracking`)

    return manifest
}