[{"data":1,"prerenderedAt":404},["ShallowReactive",2],{"navigation_docs":3,"-3pl-teams-send-orders":84,"-3pl-teams-send-orders-surround":401},[4,30,67],{"title":5,"path":6,"stem":7,"children":8,"page":29},"Getting Started","\u002Fgetting-started","1.getting-started",[9,13,17,21,25],{"title":10,"path":11,"stem":12},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction",{"title":14,"path":15,"stem":16},"Authentication","\u002Fgetting-started\u002Fauthentication","1.getting-started\u002F2.authentication",{"title":18,"path":19,"stem":20},"Concepts","\u002Fgetting-started\u002Fconcepts","1.getting-started\u002F3.concepts",{"title":22,"path":23,"stem":24},"Order keys","\u002Fgetting-started\u002Forder-keys","1.getting-started\u002F4.order-keys",{"title":26,"path":27,"stem":28},"Errors and retries","\u002Fgetting-started\u002Ferrors-and-retries","1.getting-started\u002F5.errors-and-retries",false,{"title":31,"path":32,"stem":33,"children":34,"page":29},"API","\u002Fapi","2.api",[35,39,43,47,51,55,59,63],{"title":36,"path":37,"stem":38},"Create order","\u002Fapi\u002Fcreate-order","2.api\u002F1.create-order",{"title":40,"path":41,"stem":42},"Fetch order","\u002Fapi\u002Ffetch-order","2.api\u002F2.fetch-order",{"title":44,"path":45,"stem":46},"Fetch order status","\u002Fapi\u002Ffetch-order-status","2.api\u002F3.fetch-order-status",{"title":48,"path":49,"stem":50},"Fetch printers","\u002Fapi\u002Ffetch-printers","2.api\u002F4.fetch-printers",{"title":52,"path":53,"stem":54},"Print orders","\u002Fapi\u002Fprint-orders","2.api\u002F5.print-orders",{"title":56,"path":57,"stem":58},"Fetch order PDF","\u002Fapi\u002Ffetch-order-pdf","2.api\u002F6.fetch-order-pdf",{"title":60,"path":61,"stem":62},"Links","\u002Fapi\u002Flinks","2.api\u002F7.links",{"title":64,"path":65,"stem":66},"Validate source app credentials","\u002Fapi\u002Fvalidate-source-app-credentials","2.api\u002F8.validate-source-app-credentials",{"title":68,"path":69,"stem":70,"children":71,"page":29},"3PL teams","\u002F3pl-teams","3.3pl-teams",[72,76,80],{"title":73,"path":74,"stem":75},"Overview","\u002F3pl-teams\u002Foverview","3.3pl-teams\u002F1.overview",{"title":77,"path":78,"stem":79},"Manage merchant teams","\u002F3pl-teams\u002Fmanage-merchants","3.3pl-teams\u002F2.manage-merchants",{"title":81,"path":82,"stem":83},"Send orders to merchants","\u002F3pl-teams\u002Fsend-orders","3.3pl-teams\u002F3.send-orders",{"id":85,"title":81,"body":86,"description":394,"extension":395,"links":396,"meta":397,"navigation":398,"path":82,"seo":399,"stem":83,"__hash__":400},"docs\u002F3.3pl-teams\u002F3.send-orders.md",{"type":87,"value":88,"toc":389},"minimark",[89,102,292,297,334,342,346,349,352,356,359,377,385],[90,91,92,93,96,97,101],"p",{},"3PL integrations use the standard ",[94,95,36],"a",{"href":37}," endpoint. Add ",[98,99,100],"code",{},"targetTeamId"," at the top level of the request to choose the merchant that owns the order.",[103,104,109],"pre",{"className":105,"code":106,"language":107,"meta":108,"style":108},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl --request POST 'https:\u002F\u002Fapp.yuzu.so\u002Fapi\u002Forders' \\\n  --header 'Content-Type: application\u002Fjson' \\\n  --header 'X-API-Key: YOUR_3PL_API_KEY' \\\n  --data '{\n    \"source\": \"warehouse-east\",\n    \"sourceId\": \"WE-1001\",\n    \"targetTeamId\": \"org_exampleMerchant123456789\",\n    \"order\": {\n      \"orderNumber\": \"#1001\",\n      \"customer\": {\n        \"firstName\": \"Jill\",\n        \"lastName\": \"Blogs\"\n      },\n      \"lineItems\": [\n        {\n          \"name\": \"Example product\",\n          \"quantity\": 1,\n          \"sku\": \"SKU-0001\"\n        }\n      ]\n    }\n  }'\n","bash","",[98,110,111,141,156,170,181,187,193,199,205,211,217,223,229,235,241,247,253,259,265,271,277,283],{"__ignoreMap":108},[112,113,116,120,124,127,131,134,137],"span",{"class":114,"line":115},"line",1,[112,117,119],{"class":118},"sBMFI","curl",[112,121,123],{"class":122},"sfazB"," --request",[112,125,126],{"class":122}," POST",[112,128,130],{"class":129},"sMK4o"," '",[112,132,133],{"class":122},"https:\u002F\u002Fapp.yuzu.so\u002Fapi\u002Forders",[112,135,136],{"class":129},"'",[112,138,140],{"class":139},"sTEyZ"," \\\n",[112,142,144,147,149,152,154],{"class":114,"line":143},2,[112,145,146],{"class":122},"  --header",[112,148,130],{"class":129},[112,150,151],{"class":122},"Content-Type: application\u002Fjson",[112,153,136],{"class":129},[112,155,140],{"class":139},[112,157,159,161,163,166,168],{"class":114,"line":158},3,[112,160,146],{"class":122},[112,162,130],{"class":129},[112,164,165],{"class":122},"X-API-Key: YOUR_3PL_API_KEY",[112,167,136],{"class":129},[112,169,140],{"class":139},[112,171,173,176,178],{"class":114,"line":172},4,[112,174,175],{"class":122},"  --data",[112,177,130],{"class":129},[112,179,180],{"class":122},"{\n",[112,182,184],{"class":114,"line":183},5,[112,185,186],{"class":122},"    \"source\": \"warehouse-east\",\n",[112,188,190],{"class":114,"line":189},6,[112,191,192],{"class":122},"    \"sourceId\": \"WE-1001\",\n",[112,194,196],{"class":114,"line":195},7,[112,197,198],{"class":122},"    \"targetTeamId\": \"org_exampleMerchant123456789\",\n",[112,200,202],{"class":114,"line":201},8,[112,203,204],{"class":122},"    \"order\": {\n",[112,206,208],{"class":114,"line":207},9,[112,209,210],{"class":122},"      \"orderNumber\": \"#1001\",\n",[112,212,214],{"class":114,"line":213},10,[112,215,216],{"class":122},"      \"customer\": {\n",[112,218,220],{"class":114,"line":219},11,[112,221,222],{"class":122},"        \"firstName\": \"Jill\",\n",[112,224,226],{"class":114,"line":225},12,[112,227,228],{"class":122},"        \"lastName\": \"Blogs\"\n",[112,230,232],{"class":114,"line":231},13,[112,233,234],{"class":122},"      },\n",[112,236,238],{"class":114,"line":237},14,[112,239,240],{"class":122},"      \"lineItems\": [\n",[112,242,244],{"class":114,"line":243},15,[112,245,246],{"class":122},"        {\n",[112,248,250],{"class":114,"line":249},16,[112,251,252],{"class":122},"          \"name\": \"Example product\",\n",[112,254,256],{"class":114,"line":255},17,[112,257,258],{"class":122},"          \"quantity\": 1,\n",[112,260,262],{"class":114,"line":261},18,[112,263,264],{"class":122},"          \"sku\": \"SKU-0001\"\n",[112,266,268],{"class":114,"line":267},19,[112,269,270],{"class":122},"        }\n",[112,272,274],{"class":114,"line":273},20,[112,275,276],{"class":122},"      ]\n",[112,278,280],{"class":114,"line":279},21,[112,281,282],{"class":122},"    }\n",[112,284,286,289],{"class":114,"line":285},22,[112,287,288],{"class":122},"  }",[112,290,291],{"class":129},"'\n",[293,294,296],"h2",{"id":295},"targeting-rules","Targeting rules",[298,299,300,311,317,328,331],"ul",{},[301,302,303,304,306,307,310],"li",{},"Set ",[98,305,100],{}," to a merchant managed by the authenticated 3PL team. Yuzu rejects unrelated team IDs with ",[98,308,309],{},"400",".",[301,312,313,314,316],{},"If you omit ",[98,315,100],{}," or send the parent team's own ID, Yuzu creates the order in the parent 3PL team.",[301,318,319,320,323,324,327],{},"Sending the same ",[98,321,322],{},"source"," and ",[98,325,326],{},"sourceId"," to the same merchant updates the existing order.",[301,329,330],{},"Sending that pair to another merchant creates a separate order. Deduplication does not cross merchant teams.",[301,332,333],{},"Yuzu cannot move an existing order between teams. Validate the merchant ID before ingesting the order.",[90,335,336,337,341],{},"The returned ",[94,338,340],{"href":339},"\u002Fgetting-started\u002Forder-keys#merchant-team-order-keys","order key"," is scoped to the merchant team. Store the returned order ID or key for later reads and print requests.",[293,343,345],{"id":344},"onboarding-orders","Onboarding orders",[90,347,348],{},"You can connect a production feed while a merchant is still onboarding. Yuzu ingests and renders its orders but pauses automatic printing until the merchant goes live.",[90,350,351],{},"Use manual print requests for controlled tests during onboarding. Going live does not print existing orders automatically.",[293,353,355],{"id":354},"fetch-and-print-merchant-orders","Fetch and print merchant orders",[90,357,358],{},"The 3PL API key can use the shared endpoints for its managed merchants:",[298,360,361,365,369,373],{},[301,362,363],{},[94,364,40],{"href":41},[301,366,367],{},[94,368,44],{"href":45},[301,370,371],{},[94,372,52],{"href":53},[301,374,375],{},[94,376,56],{"href":57},[90,378,379,380,384],{},"For orders with several document types, use ",[94,381,383],{"href":382},"\u002Fapi\u002Fprint-orders#route-different-documents-separately","document-tag filters and print overrides"," to route each document to the correct printer and tray.",[386,387,388],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":108,"searchDepth":143,"depth":143,"links":390},[391,392,393],{"id":295,"depth":143,"text":296},{"id":344,"depth":143,"text":345},{"id":354,"depth":143,"text":355},"Target managed merchants while using the shared Yuzu order APIs.","md",null,{},true,{"title":81,"description":394},"rXBNShJQVTFTc1b4gDQ3PbjVHpYhw0sjd6gA_y1kQms",[402,396],{"title":77,"path":78,"stem":79,"description":403,"children":-1},"Create managed merchants, invite their users, assign account managers, and go live.",1786713552765]