1"use strict";(self.webpackChunkpublic_api_docs=self.webpackChunkpublic_api_docs||[]).push([[4323],{1559:(e,n,t)=>{t.r(n),t.d(n,{Badge:()=>x,Bullet:()=>d,Details:()=>h,SpecifiedBy:()=>u,assets:()=>c,contentTitle:()=>o,default:()=>p,frontMatter:()=>l,metadata:()=>a,toc:()=>g});const a=JSON.parse('{"id":"types/objects/customer-box-variant-quantity","title":"CustomerBoxVariantQuantity","description":"\u9867\u5ba2\u5411\u3051\u73fe\u5728\u5951\u7d04\u4e2d\u306eBOX\u5c0f\u5546\u54c1\u3054\u3068\u306e\u6570\u91cf","source":"@site/docs/types/objects/customer-box-variant-quantity.mdx","sourceDirName":"types/objects","slug":"/types/objects/customer-box-variant-quantity","permalink":"/types/objects/customer-box-variant-quantity","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"pagination_next":null,"pagination_prev":null,"id":"customer-box-variant-quantity","title":"CustomerBoxVariantQuantity"},"sidebar":"defaultSidebar"}');var s=t(6070),r=t(2790),i=t(758);const l={pagination_next:null,pagination_prev:null,id:"customer-box-variant-quantity",title:"CustomerBoxVariantQuantity"},o=void 0,c={},d=()=>(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("span",{style:{fontWeight:"normal",fontSize:".5em",color:"var(--ifm-color-secondary-darkest)"},children:"\xa0\u25cf\xa0"})}),u=e=>(0,s.jsxs)(s.Fragment,{children:["Specification",(0,s.jsx)("a",{className:"link",style:{fontSize:"1.5em",paddingLeft:"4px"},target:"_blank",href:e.url,title:"Specified by "+e.url,children:"\u2398"})]}),x=e=>(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("span",{className:e.class,children:e.text})}),h=({dataOpen:e,dataClose:n,children:t,startOpen:a=!1})=>{const[r,l]=(0,i.useState)(a);return(0,s.jsxs)("details",{...r?{open:!0}:{},className:"details",style:{border:"none",boxShadow:"none",background:"var(--ifm-background-color)"},children:[(0,s.jsx)("summary",{onClick:e=>{e.preventDefault(),l((e=>!e))},style:{listStyle:"none"},children:r?e:n}),r&&t]})},g=[{value:"Fields",id:"fields",level:3},{value:'<code>CustomerBoxVariantQuantity.<b>variantId</b></code><Bullet></Bullet><code>String!</code> <Badge class="badge badge--secondary"></Badge> <Badge class="badge badge--secondary"></Badge>',id:"customerboxvariantquantityvariantidstring--",level:4},{value:'<code>CustomerBoxVariantQuantity.<b>quantity</b></code><Bullet></Bullet><code>Int!</code> <Badge class="badge badge--secondary"></Badge> <Badge class="badge badge--secondary"></Badge>',id:"customerboxvariantquantityquantityint--",level:4},{value:"Example",id:"example",level:3},{value:"Member Of",id:"member-of",level:3}];function j(e){const n={a:"a",code:"code",h3:"h3",h4:"h4",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.p,{children:"\u9867\u5ba2\u5411\u3051\u73fe\u5728\u5951\u7d04\u4e2d\u306eBOX\u5c0f\u5546\u54c1\u3054\u3068\u306e\u6570\u91cf"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-graphql",children:"type CustomerBoxVariantQuantity {\n variantId: String!\n quantity: Int!\n}\n"})}),"\n",(0,s.jsx)(n.h3,{id:"fields",children:"Fields"}),"\n",(0,s.jsxs)(n.h4,{id:"customerboxvariantquantityvariantidstring--",children:[(0,s.jsx)(n.a,{href:"#",children:(0,s.jsxs)("code",{style:{fontWeight:"normal"},children:["CustomerBoxVariantQuantity.",(0,s.jsx)("b",{children:"variantId"})]})}),(0,s.jsx)(d,{}),(0,s.jsx)(n.a,{href:"/types/scalars/string",children:(0,s.jsx)(n.code,{children:"String!"})})," ",(0,s.jsx)(x,{class:"badge badge--secondary",text:"non-null"})," ",(0,s.jsx)(x,{class:"badge badge--secondary",text:"scalar"})]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"BOX\u5c0f\u5546\u54c1\u306e\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3ID"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"\u8aac\u660e\uff1a"})," ProductVariant \u306e globally-unique ID."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"\u30c7\u30fc\u30bf\u4f8b\uff1a"})," ",(0,s.jsx)(n.code,{children:'"gid://shopify/ProductVariant/1234567890"'})]}),"\n"]}),"\n",(0,s.jsxs)(n.h4,{id:"customerboxvariantquantityquantityint--",children:[(0,s.jsx)(n.a,{href:"#",children:(0,s.jsxs)("code",{style:{fontWeight:"normal"},children:["CustomerBoxVariantQuantity.",(0,s.jsx)("b",{children:"quantity"})]})}),(0,s.jsx)(d,{}),(0,s.jsx)(n.a,{href:"/types/scalars/int",children:(0,s.jsx)(n.code,{children:"Int!"})})," ",(0,s.jsx)(x,{class:"badge badge--secondary",text:"non-null"})," ",(0,s.jsx)(x,{class:"badge badge--secondary",text:"scalar"})]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"BOX\u5c0f\u5546\u54c1\u306e\u6570\u91cf"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"\u8aac\u660e\uff1a"})," BOX\u5c0f\u5546\u54c1\u306e\u6570\u91cf"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"\u30c7\u30fc\u30bf\u4f8b\uff1a"})," ",(0,s.jsx)(n.code,{children:"1"})]}),"\n"]}),"\n",(0,s.jsx)(n.h3,{id:"example",children:"Example"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-graphql",children:'{\n "variantId": "gid://shopify/ProductVariant/1234567890",\n "quantity": 1\n}\n'})}),"\n",(0,s.jsx)(n.h3,{id:"member-of",children:"Member Of"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.a,{href:"/types/objects/result-customer-box",children:(0,s.jsx)(n.code,{children:"ResultCustomerBox"})})," ",(0,s.jsx)(x,{class:"badge badge--secondary",text:"object"})]})]})}function p(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(j,{...e})}):j(e)}},2790:(e,n,t)=>{t.d(n,{R:()=>i,x:()=>l});var a=t(758);const s={},r=a.createContext(s);function i(e){const n=a.useContext(r);return a.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),a.createElement(r.Provider,{value:n},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.