prod.graphql 181 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818
  1. schema
  2. @link(url: "https://specs.apollo.dev/link/v1.0")
  3. @link(url: "https://specs.apollo.dev/join/v0.2", for: EXECUTION)
  4. {
  5. query: Query
  6. mutation: Mutation
  7. }
  8. directive @join__field(graph: join__Graph!, requires: join__FieldSet, provides: join__FieldSet, type: String, external: Boolean, override: String, usedOverridden: Boolean) repeatable on FIELD_DEFINITION | INPUT_FIELD_DEFINITION
  9. directive @join__graph(name: String!, url: String!) on ENUM_VALUE
  10. directive @join__implements(graph: join__Graph!, interface: String!) repeatable on OBJECT | INTERFACE
  11. directive @join__type(graph: join__Graph!, key: join__FieldSet, extension: Boolean! = false, resolvable: Boolean! = true) repeatable on OBJECT | INTERFACE | UNION | ENUM | INPUT_OBJECT | SCALAR
  12. directive @link(url: String, as: String, for: link__Purpose, import: [link__Import]) repeatable on SCHEMA
  13. type AccessScope
  14. @join__type(graph: CUSTOMER)
  15. @join__type(graph: PRODUCT)
  16. {
  17. description: String!
  18. handle: String!
  19. }
  20. type App implements Node
  21. @join__implements(graph: CUSTOMER, interface: "Node")
  22. @join__implements(graph: PRODUCT, interface: "Node")
  23. @join__type(graph: CUSTOMER)
  24. @join__type(graph: PRODUCT)
  25. {
  26. apiKey: String!
  27. appStoreAppUrl: URL
  28. appStoreDeveloperUrl: URL
  29. availableAccessScopes: [AccessScope!]!
  30. banner: Image!
  31. description: String
  32. developerName: String
  33. developerType: AppDeveloperType!
  34. embedded: Boolean!
  35. failedRequirements: [FailedRequirement!]!
  36. features: [String!]!
  37. feedback: AppFeedback
  38. handle: String
  39. icon: Image!
  40. id: ID!
  41. installUrl: URL
  42. installation: AppInstallation
  43. isPostPurchaseAppInUse: Boolean!
  44. previouslyInstalled: Boolean!
  45. pricingDetails: String
  46. pricingDetailsSummary: String!
  47. privacyPolicyUrl: URL
  48. publicCategory: AppPublicCategory!
  49. published: Boolean!
  50. requestedAccessScopes: [AccessScope!]!
  51. screenshots: [Image!]!
  52. shopifyDeveloped: Boolean!
  53. title: String!
  54. uninstallMessage: String!
  55. webhookApiVersion: String!
  56. }
  57. type AppConnection
  58. @join__type(graph: CUSTOMER)
  59. @join__type(graph: PRODUCT)
  60. {
  61. edges: [AppEdge!]!
  62. nodes: [App!]!
  63. pageInfo: PageInfo!
  64. }
  65. type AppCredit implements Node
  66. @join__implements(graph: CUSTOMER, interface: "Node")
  67. @join__implements(graph: PRODUCT, interface: "Node")
  68. @join__type(graph: CUSTOMER)
  69. @join__type(graph: PRODUCT)
  70. {
  71. amount: MoneyV2!
  72. createdAt: DateTime!
  73. description: String!
  74. id: ID!
  75. test: Boolean!
  76. }
  77. type AppCreditConnection
  78. @join__type(graph: CUSTOMER)
  79. @join__type(graph: PRODUCT)
  80. {
  81. edges: [AppCreditEdge!]!
  82. nodes: [AppCredit!]!
  83. pageInfo: PageInfo!
  84. }
  85. type AppCreditEdge
  86. @join__type(graph: CUSTOMER)
  87. @join__type(graph: PRODUCT)
  88. {
  89. cursor: String!
  90. node: AppCredit!
  91. }
  92. enum AppDeveloperType
  93. @join__type(graph: CUSTOMER)
  94. @join__type(graph: PRODUCT)
  95. {
  96. SHOPIFY
  97. PARTNER
  98. MERCHANT
  99. UNKNOWN
  100. }
  101. type AppEdge
  102. @join__type(graph: CUSTOMER)
  103. @join__type(graph: PRODUCT)
  104. {
  105. cursor: String!
  106. node: App!
  107. }
  108. type AppFeedback
  109. @join__type(graph: CUSTOMER)
  110. @join__type(graph: PRODUCT)
  111. {
  112. app: App!
  113. link: Link
  114. messages: [UserError!]!
  115. }
  116. type AppInstallation implements HasMetafields & Node
  117. @join__implements(graph: CUSTOMER, interface: "HasMetafields")
  118. @join__implements(graph: CUSTOMER, interface: "Node")
  119. @join__implements(graph: PRODUCT, interface: "HasMetafields")
  120. @join__implements(graph: PRODUCT, interface: "Node")
  121. @join__type(graph: CUSTOMER)
  122. @join__type(graph: PRODUCT)
  123. {
  124. accessScopes: [AccessScope!]!
  125. activeSubscriptions: [AppSubscription!]!
  126. allSubscriptions(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: AppSubscriptionSortKeys = CREATED_AT): AppSubscriptionConnection!
  127. app: App!
  128. credits(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: AppTransactionSortKeys = CREATED_AT): AppCreditConnection!
  129. id: ID!
  130. launchUrl: URL!
  131. metafield(namespace: String!, key: String!): Metafield
  132. metafields(namespace: String, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): MetafieldConnection!
  133. oneTimePurchases(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: AppTransactionSortKeys = CREATED_AT): AppPurchaseOneTimeConnection!
  134. privateMetafield(namespace: String!, key: String!): PrivateMetafield
  135. privateMetafields(namespace: String, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): PrivateMetafieldConnection!
  136. publication: Publication
  137. revenueAttributionRecords(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: AppRevenueAttributionRecordSortKeys = CREATED_AT): AppRevenueAttributionRecordConnection!
  138. uninstallUrl: URL
  139. }
  140. type AppPlanV2
  141. @join__type(graph: CUSTOMER)
  142. @join__type(graph: PRODUCT)
  143. {
  144. pricingDetails: AppPricingDetails!
  145. }
  146. union AppPricingDetails
  147. @join__type(graph: CUSTOMER)
  148. @join__type(graph: PRODUCT)
  149. = AppRecurringPricing | AppUsagePricing
  150. enum AppPricingInterval
  151. @join__type(graph: CUSTOMER)
  152. @join__type(graph: PRODUCT)
  153. {
  154. ANNUAL
  155. EVERY_30_DAYS
  156. }
  157. enum AppPublicCategory
  158. @join__type(graph: CUSTOMER)
  159. @join__type(graph: PRODUCT)
  160. {
  161. PRIVATE
  162. PUBLIC
  163. CUSTOM
  164. OTHER
  165. }
  166. interface AppPurchase
  167. @join__type(graph: CUSTOMER)
  168. @join__type(graph: PRODUCT)
  169. {
  170. createdAt: DateTime!
  171. name: String!
  172. price: MoneyV2!
  173. status: AppPurchaseStatus!
  174. test: Boolean!
  175. }
  176. type AppPurchaseOneTime implements AppPurchase & Node
  177. @join__implements(graph: CUSTOMER, interface: "AppPurchase")
  178. @join__implements(graph: CUSTOMER, interface: "Node")
  179. @join__implements(graph: PRODUCT, interface: "AppPurchase")
  180. @join__implements(graph: PRODUCT, interface: "Node")
  181. @join__type(graph: CUSTOMER)
  182. @join__type(graph: PRODUCT)
  183. {
  184. createdAt: DateTime!
  185. id: ID!
  186. name: String!
  187. price: MoneyV2!
  188. status: AppPurchaseStatus!
  189. test: Boolean!
  190. }
  191. type AppPurchaseOneTimeConnection
  192. @join__type(graph: CUSTOMER)
  193. @join__type(graph: PRODUCT)
  194. {
  195. edges: [AppPurchaseOneTimeEdge!]!
  196. nodes: [AppPurchaseOneTime!]!
  197. pageInfo: PageInfo!
  198. }
  199. type AppPurchaseOneTimeEdge
  200. @join__type(graph: CUSTOMER)
  201. @join__type(graph: PRODUCT)
  202. {
  203. cursor: String!
  204. node: AppPurchaseOneTime!
  205. }
  206. enum AppPurchaseStatus
  207. @join__type(graph: CUSTOMER)
  208. @join__type(graph: PRODUCT)
  209. {
  210. ACTIVE
  211. DECLINED
  212. EXPIRED
  213. PENDING
  214. }
  215. type AppRecurringPricing
  216. @join__type(graph: CUSTOMER)
  217. @join__type(graph: PRODUCT)
  218. {
  219. discount: AppSubscriptionDiscount
  220. interval: AppPricingInterval!
  221. price: MoneyV2!
  222. }
  223. type AppRevenueAttributionRecord implements Node
  224. @join__implements(graph: CUSTOMER, interface: "Node")
  225. @join__implements(graph: PRODUCT, interface: "Node")
  226. @join__type(graph: CUSTOMER)
  227. @join__type(graph: PRODUCT)
  228. {
  229. amount: MoneyV2!
  230. capturedAt: DateTime!
  231. createdAt: DateTime!
  232. id: ID!
  233. idempotencyKey: String!
  234. test: Boolean!
  235. type: AppRevenueAttributionType!
  236. }
  237. type AppRevenueAttributionRecordConnection
  238. @join__type(graph: CUSTOMER)
  239. @join__type(graph: PRODUCT)
  240. {
  241. edges: [AppRevenueAttributionRecordEdge!]!
  242. nodes: [AppRevenueAttributionRecord!]!
  243. pageInfo: PageInfo!
  244. }
  245. type AppRevenueAttributionRecordEdge
  246. @join__type(graph: CUSTOMER)
  247. @join__type(graph: PRODUCT)
  248. {
  249. cursor: String!
  250. node: AppRevenueAttributionRecord!
  251. }
  252. enum AppRevenueAttributionRecordSortKeys
  253. @join__type(graph: CUSTOMER)
  254. @join__type(graph: PRODUCT)
  255. {
  256. CREATED_AT
  257. ID
  258. RELEVANCE
  259. }
  260. enum AppRevenueAttributionType
  261. @join__type(graph: CUSTOMER)
  262. @join__type(graph: PRODUCT)
  263. {
  264. APPLICATION_PURCHASE
  265. APPLICATION_SUBSCRIPTION
  266. APPLICATION_USAGE
  267. OTHER
  268. }
  269. type AppSubscription implements Node
  270. @join__implements(graph: CUSTOMER, interface: "Node")
  271. @join__implements(graph: PRODUCT, interface: "Node")
  272. @join__type(graph: CUSTOMER)
  273. @join__type(graph: PRODUCT)
  274. {
  275. createdAt: DateTime!
  276. currentPeriodEnd: DateTime
  277. id: ID!
  278. lineItems: [AppSubscriptionLineItem!]!
  279. name: String!
  280. returnUrl: URL!
  281. status: AppSubscriptionStatus!
  282. test: Boolean!
  283. trialDays: Int!
  284. }
  285. type AppSubscriptionConnection
  286. @join__type(graph: CUSTOMER)
  287. @join__type(graph: PRODUCT)
  288. {
  289. edges: [AppSubscriptionEdge!]!
  290. nodes: [AppSubscription!]!
  291. pageInfo: PageInfo!
  292. }
  293. type AppSubscriptionDiscount
  294. @join__type(graph: CUSTOMER)
  295. @join__type(graph: PRODUCT)
  296. {
  297. durationLimitInIntervals: Int
  298. priceAfterDiscount: MoneyV2!
  299. remainingDurationInIntervals: Int
  300. value: AppSubscriptionDiscountValue!
  301. }
  302. type AppSubscriptionDiscountAmount
  303. @join__type(graph: CUSTOMER)
  304. @join__type(graph: PRODUCT)
  305. {
  306. amount: MoneyV2!
  307. }
  308. type AppSubscriptionDiscountPercentage
  309. @join__type(graph: CUSTOMER)
  310. @join__type(graph: PRODUCT)
  311. {
  312. percentage: Float!
  313. }
  314. union AppSubscriptionDiscountValue
  315. @join__type(graph: CUSTOMER)
  316. @join__type(graph: PRODUCT)
  317. = AppSubscriptionDiscountAmount | AppSubscriptionDiscountPercentage
  318. type AppSubscriptionEdge
  319. @join__type(graph: CUSTOMER)
  320. @join__type(graph: PRODUCT)
  321. {
  322. cursor: String!
  323. node: AppSubscription!
  324. }
  325. type AppSubscriptionLineItem
  326. @join__type(graph: CUSTOMER)
  327. @join__type(graph: PRODUCT)
  328. {
  329. id: ID!
  330. plan: AppPlanV2!
  331. usageRecords(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: AppUsageRecordSortKeys = CREATED_AT): AppUsageRecordConnection!
  332. }
  333. enum AppSubscriptionSortKeys
  334. @join__type(graph: CUSTOMER)
  335. @join__type(graph: PRODUCT)
  336. {
  337. CREATED_AT
  338. ID
  339. RELEVANCE
  340. }
  341. enum AppSubscriptionStatus
  342. @join__type(graph: CUSTOMER)
  343. @join__type(graph: PRODUCT)
  344. {
  345. PENDING
  346. ACTIVE
  347. DECLINED
  348. EXPIRED
  349. FROZEN
  350. CANCELLED
  351. }
  352. enum AppTransactionSortKeys
  353. @join__type(graph: CUSTOMER)
  354. @join__type(graph: PRODUCT)
  355. {
  356. CREATED_AT
  357. ID
  358. RELEVANCE
  359. }
  360. type AppUsagePricing
  361. @join__type(graph: CUSTOMER)
  362. @join__type(graph: PRODUCT)
  363. {
  364. balanceUsed: MoneyV2!
  365. cappedAmount: MoneyV2!
  366. interval: AppPricingInterval!
  367. terms: String!
  368. }
  369. type AppUsageRecord implements Node
  370. @join__implements(graph: CUSTOMER, interface: "Node")
  371. @join__implements(graph: PRODUCT, interface: "Node")
  372. @join__type(graph: CUSTOMER)
  373. @join__type(graph: PRODUCT)
  374. {
  375. createdAt: DateTime!
  376. description: String!
  377. id: ID!
  378. price: MoneyV2!
  379. subscriptionLineItem: AppSubscriptionLineItem!
  380. }
  381. type AppUsageRecordConnection
  382. @join__type(graph: CUSTOMER)
  383. @join__type(graph: PRODUCT)
  384. {
  385. edges: [AppUsageRecordEdge!]!
  386. nodes: [AppUsageRecord!]!
  387. pageInfo: PageInfo!
  388. }
  389. type AppUsageRecordEdge
  390. @join__type(graph: CUSTOMER)
  391. @join__type(graph: PRODUCT)
  392. {
  393. cursor: String!
  394. node: AppUsageRecord!
  395. }
  396. enum AppUsageRecordSortKeys
  397. @join__type(graph: CUSTOMER)
  398. @join__type(graph: PRODUCT)
  399. {
  400. CREATED_AT
  401. ID
  402. RELEVANCE
  403. }
  404. type Attribute
  405. @join__type(graph: CUSTOMER)
  406. @join__type(graph: PRODUCT)
  407. {
  408. key: String!
  409. value: String
  410. }
  411. type AutomaticDiscountApplication implements DiscountApplication
  412. @join__implements(graph: CUSTOMER, interface: "DiscountApplication")
  413. @join__implements(graph: PRODUCT, interface: "DiscountApplication")
  414. @join__type(graph: CUSTOMER)
  415. @join__type(graph: PRODUCT)
  416. {
  417. allocationMethod: DiscountApplicationAllocationMethod!
  418. index: Int!
  419. targetSelection: DiscountApplicationTargetSelection!
  420. targetType: DiscountApplicationTargetType!
  421. title: String!
  422. value: PricingValue!
  423. }
  424. type AvailableChannelDefinitionsByChannel
  425. @join__type(graph: CUSTOMER)
  426. @join__type(graph: PRODUCT)
  427. {
  428. channelDefinitions: [ChannelDefinition!]!
  429. channelName: String!
  430. }
  431. type BasicEvent implements Event & Node
  432. @join__implements(graph: CUSTOMER, interface: "Event")
  433. @join__implements(graph: CUSTOMER, interface: "Node")
  434. @join__implements(graph: PRODUCT, interface: "Event")
  435. @join__implements(graph: PRODUCT, interface: "Node")
  436. @join__type(graph: CUSTOMER)
  437. @join__type(graph: PRODUCT)
  438. {
  439. appTitle: String
  440. attributeToApp: Boolean!
  441. attributeToUser: Boolean!
  442. createdAt: DateTime!
  443. criticalAlert: Boolean!
  444. id: ID!
  445. message: FormattedString!
  446. }
  447. type BuyerExperienceConfiguration
  448. @join__type(graph: CUSTOMER)
  449. @join__type(graph: PRODUCT)
  450. {
  451. checkoutToDraft: Boolean!
  452. payNowOnly: Boolean!
  453. paymentTermsTemplate: PaymentTermsTemplate
  454. }
  455. type ChannelDefinition implements Node
  456. @join__implements(graph: CUSTOMER, interface: "Node")
  457. @join__implements(graph: PRODUCT, interface: "Node")
  458. @join__type(graph: CUSTOMER)
  459. @join__type(graph: PRODUCT)
  460. {
  461. channelName: String!
  462. handle: String!
  463. id: ID!
  464. subChannelName: String!
  465. svgIcon: String
  466. }
  467. type ChannelInformation implements Node
  468. @join__implements(graph: CUSTOMER, interface: "Node")
  469. @join__implements(graph: PRODUCT, interface: "Node")
  470. @join__type(graph: CUSTOMER)
  471. @join__type(graph: PRODUCT)
  472. {
  473. app: App!
  474. channelDefinition: ChannelDefinition
  475. channelId: ID!
  476. id: ID!
  477. }
  478. type Collection implements HasMetafieldDefinitions & HasMetafields & HasPublishedTranslations & Node & Publishable
  479. @join__implements(graph: CUSTOMER, interface: "HasMetafieldDefinitions")
  480. @join__implements(graph: CUSTOMER, interface: "HasMetafields")
  481. @join__implements(graph: CUSTOMER, interface: "HasPublishedTranslations")
  482. @join__implements(graph: CUSTOMER, interface: "Node")
  483. @join__implements(graph: CUSTOMER, interface: "Publishable")
  484. @join__implements(graph: PRODUCT, interface: "HasMetafieldDefinitions")
  485. @join__implements(graph: PRODUCT, interface: "HasMetafields")
  486. @join__implements(graph: PRODUCT, interface: "HasPublishedTranslations")
  487. @join__implements(graph: PRODUCT, interface: "Node")
  488. @join__implements(graph: PRODUCT, interface: "Publishable")
  489. @join__type(graph: CUSTOMER)
  490. @join__type(graph: PRODUCT)
  491. {
  492. availablePublicationCount: Int!
  493. description(truncateAt: Int): String!
  494. descriptionHtml: HTML!
  495. feedback: ResourceFeedback
  496. handle: String!
  497. hasProduct(id: ID!): Boolean!
  498. id: ID!
  499. image: Image
  500. legacyResourceId: UnsignedInt64!
  501. metafield(namespace: String!, key: String!): Metafield
  502. metafieldDefinitions(namespace: String, pinnedStatus: MetafieldDefinitionPinnedStatus = ANY, first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: MetafieldDefinitionSortKeys = ID, query: String): MetafieldDefinitionConnection!
  503. metafields(namespace: String, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): MetafieldConnection!
  504. privateMetafield(namespace: String!, key: String!): PrivateMetafield
  505. privateMetafields(namespace: String, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): PrivateMetafieldConnection!
  506. products(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: ProductCollectionSortKeys = COLLECTION_DEFAULT): ProductConnection!
  507. productsCount: Int!
  508. publicationCount(onlyPublished: Boolean = true): Int!
  509. publishedOnCurrentPublication: Boolean!
  510. publishedOnPublication(publicationId: ID!): Boolean!
  511. resourcePublications(onlyPublished: Boolean = true, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): ResourcePublicationConnection!
  512. resourcePublicationsV2(onlyPublished: Boolean = true, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): ResourcePublicationV2Connection!
  513. ruleSet: CollectionRuleSet
  514. seo: SEO!
  515. sortOrder: CollectionSortOrder!
  516. templateSuffix: String
  517. title: String!
  518. translations(locale: String!, marketId: ID): [PublishedTranslation!]!
  519. unpublishedPublications(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): PublicationConnection!
  520. updatedAt: DateTime!
  521. }
  522. type CollectionConnection
  523. @join__type(graph: CUSTOMER)
  524. @join__type(graph: PRODUCT)
  525. {
  526. edges: [CollectionEdge!]!
  527. nodes: [Collection!]!
  528. pageInfo: PageInfo!
  529. }
  530. type CollectionEdge
  531. @join__type(graph: CUSTOMER)
  532. @join__type(graph: PRODUCT)
  533. {
  534. cursor: String!
  535. node: Collection!
  536. }
  537. type CollectionRule
  538. @join__type(graph: CUSTOMER)
  539. @join__type(graph: PRODUCT)
  540. {
  541. appliedDisjunctively: Boolean!
  542. rules: [CollectionRule!]!
  543. }
  544. type CollectionRuleSet
  545. @join__type(graph: CUSTOMER)
  546. @join__type(graph: PRODUCT)
  547. {
  548. appliedDisjunctively: Boolean!
  549. rules: [CollectionRule!]!
  550. }
  551. enum CollectionSortKeys
  552. @join__type(graph: CUSTOMER)
  553. @join__type(graph: PRODUCT)
  554. {
  555. TITLE
  556. UPDATED_AT
  557. ID
  558. RELEVANCE
  559. }
  560. enum CollectionSortOrder
  561. @join__type(graph: CUSTOMER)
  562. @join__type(graph: PRODUCT)
  563. {
  564. ALPHA_ASC
  565. ALPHA_DESC
  566. BEST_SELLING
  567. CREATED
  568. CREATED_DESC
  569. MANUAL
  570. PRICE_ASC
  571. PRICE_DESC
  572. }
  573. type CommentEvent implements Event & Node
  574. @join__implements(graph: CUSTOMER, interface: "Event")
  575. @join__implements(graph: CUSTOMER, interface: "Node")
  576. @join__implements(graph: PRODUCT, interface: "Event")
  577. @join__implements(graph: PRODUCT, interface: "Node")
  578. @join__type(graph: CUSTOMER)
  579. @join__type(graph: PRODUCT)
  580. {
  581. appTitle: String
  582. attachments: [CommentEventAttachment!]!
  583. attributeToApp: Boolean!
  584. attributeToUser: Boolean!
  585. author: StaffMember!
  586. canDelete: Boolean!
  587. canEdit: Boolean!
  588. createdAt: DateTime!
  589. criticalAlert: Boolean!
  590. edited: Boolean!
  591. embed: CommentEventEmbed
  592. id: ID!
  593. message: FormattedString!
  594. rawMessage: String!
  595. subject: CommentEventSubject!
  596. }
  597. type CommentEventAttachment
  598. @join__type(graph: CUSTOMER)
  599. @join__type(graph: PRODUCT)
  600. {
  601. fileExtension: String
  602. id: ID!
  603. image: Image
  604. name: String!
  605. size: Int!
  606. url: URL!
  607. }
  608. union CommentEventEmbed
  609. @join__type(graph: CUSTOMER)
  610. @join__type(graph: PRODUCT)
  611. = Customer | DraftOrder | Order | Product | ProductVariant
  612. interface CommentEventSubject
  613. @join__type(graph: CUSTOMER)
  614. @join__type(graph: PRODUCT)
  615. {
  616. id: ID!
  617. hasTimelineComment: Boolean!
  618. }
  619. type Company implements CommentEventSubject & HasEvents & Navigable & Node
  620. @join__implements(graph: CUSTOMER, interface: "CommentEventSubject")
  621. @join__implements(graph: CUSTOMER, interface: "HasEvents")
  622. @join__implements(graph: CUSTOMER, interface: "Navigable")
  623. @join__implements(graph: CUSTOMER, interface: "Node")
  624. @join__implements(graph: PRODUCT, interface: "CommentEventSubject")
  625. @join__implements(graph: PRODUCT, interface: "HasEvents")
  626. @join__implements(graph: PRODUCT, interface: "Navigable")
  627. @join__implements(graph: PRODUCT, interface: "Node")
  628. @join__type(graph: CUSTOMER)
  629. @join__type(graph: PRODUCT)
  630. {
  631. contactCount: Int!
  632. contactRoles(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: CompanyContactRoleSortKeys = ID): CompanyContactRoleConnection!
  633. contacts(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: CompanyContactSortKeys = ID, query: String): CompanyContactConnection!
  634. createdAt: DateTime!
  635. customerSince: DateTime!
  636. defaultCursor: String!
  637. defaultRole: CompanyContactRole
  638. draftOrders(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: DraftOrderSortKeys = ID, query: String): DraftOrderConnection!
  639. events(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: EventSortKeys = ID, query: String): EventConnection!
  640. externalId: String
  641. hasTimelineComment: Boolean!
  642. id: ID!
  643. lifetimeDuration: String!
  644. locationCount: Int!
  645. locations(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: CompanyLocationSortKeys = ID, query: String): CompanyLocationConnection!
  646. mainContact: CompanyContact
  647. name: String!
  648. note: String
  649. orderCount: Int!
  650. orders(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: OrderSortKeys = ID): OrderConnection!
  651. totalSpent: MoneyV2!
  652. updatedAt: DateTime!
  653. }
  654. type CompanyAddress implements Node
  655. @join__implements(graph: CUSTOMER, interface: "Node")
  656. @join__implements(graph: PRODUCT, interface: "Node")
  657. @join__type(graph: CUSTOMER)
  658. @join__type(graph: PRODUCT)
  659. {
  660. address1: String!
  661. address2: String
  662. city: String
  663. companyName: String!
  664. country: String
  665. countryCode: CountryCode!
  666. createdAt: DateTime!
  667. formattedArea: String
  668. id: ID!
  669. phone: String
  670. province: String
  671. recipient: String
  672. updatedAt: DateTime!
  673. zip: String
  674. zoneCode: String
  675. }
  676. type CompanyContact implements Node
  677. @join__implements(graph: CUSTOMER, interface: "Node")
  678. @join__implements(graph: PRODUCT, interface: "Node")
  679. @join__type(graph: CUSTOMER)
  680. @join__type(graph: PRODUCT)
  681. {
  682. company: Company!
  683. createdAt: DateTime!
  684. customer: Customer!
  685. draftOrders(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: DraftOrderSortKeys = ID, query: String): DraftOrderConnection!
  686. id: ID!
  687. isMainContact: Boolean!
  688. lifetimeDuration: String!
  689. locale: String
  690. orders(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: OrderSortKeys = ID): OrderConnection!
  691. roleAssignments(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: CompanyContactRoleAssignmentSortKeys = ID, query: String): CompanyContactRoleAssignmentConnection!
  692. title: String
  693. updatedAt: DateTime!
  694. }
  695. type CompanyContactConnection
  696. @join__type(graph: CUSTOMER)
  697. @join__type(graph: PRODUCT)
  698. {
  699. edges: [CompanyContactEdge!]!
  700. nodes: [CompanyContact!]!
  701. pageInfo: PageInfo!
  702. }
  703. type CompanyContactEdge
  704. @join__type(graph: CUSTOMER)
  705. @join__type(graph: PRODUCT)
  706. {
  707. cursor: String!
  708. node: CompanyContact!
  709. }
  710. type CompanyContactRole implements Node
  711. @join__implements(graph: CUSTOMER, interface: "Node")
  712. @join__implements(graph: PRODUCT, interface: "Node")
  713. @join__type(graph: CUSTOMER)
  714. @join__type(graph: PRODUCT)
  715. {
  716. id: ID!
  717. name: String!
  718. note: String
  719. }
  720. type CompanyContactRoleAssignment implements Node
  721. @join__implements(graph: CUSTOMER, interface: "Node")
  722. @join__implements(graph: PRODUCT, interface: "Node")
  723. @join__type(graph: CUSTOMER)
  724. @join__type(graph: PRODUCT)
  725. {
  726. company: Company!
  727. companyContact: CompanyContact!
  728. companyLocation: CompanyLocation!
  729. createdAt: DateTime!
  730. id: ID!
  731. role: CompanyContactRole!
  732. updatedAt: DateTime!
  733. }
  734. type CompanyContactRoleAssignmentConnection
  735. @join__type(graph: CUSTOMER)
  736. @join__type(graph: PRODUCT)
  737. {
  738. edges: [CompanyContactRoleAssignmentEdge!]!
  739. nodes: [CompanyContactRoleAssignment!]!
  740. pageInfo: PageInfo!
  741. }
  742. type CompanyContactRoleAssignmentEdge
  743. @join__type(graph: CUSTOMER)
  744. @join__type(graph: PRODUCT)
  745. {
  746. cursor: String!
  747. node: CompanyContactRoleAssignment!
  748. }
  749. enum CompanyContactRoleAssignmentSortKeys
  750. @join__type(graph: CUSTOMER)
  751. @join__type(graph: PRODUCT)
  752. {
  753. CREATED_AT
  754. UPDATED_AT
  755. LOCATION_NAME
  756. ID
  757. RELEVANCE
  758. }
  759. type CompanyContactRoleConnection
  760. @join__type(graph: CUSTOMER)
  761. @join__type(graph: PRODUCT)
  762. {
  763. edges: [CompanyContactRoleEdge!]!
  764. nodes: [CompanyContactRole!]!
  765. pageInfo: PageInfo!
  766. }
  767. type CompanyContactRoleEdge
  768. @join__type(graph: CUSTOMER)
  769. @join__type(graph: PRODUCT)
  770. {
  771. cursor: String!
  772. node: CompanyContactRole!
  773. }
  774. enum CompanyContactRoleSortKeys
  775. @join__type(graph: CUSTOMER)
  776. @join__type(graph: PRODUCT)
  777. {
  778. CREATED_AT
  779. UPDATED_AT
  780. ID
  781. RELEVANCE
  782. }
  783. enum CompanyContactSortKeys
  784. @join__type(graph: CUSTOMER)
  785. @join__type(graph: PRODUCT)
  786. {
  787. CREATED_AT
  788. UPDATED_AT
  789. TITLE
  790. COMPANY_ID
  791. NAME
  792. EMAIL
  793. NAME_EMAIL
  794. ID
  795. RELEVANCE
  796. }
  797. type CompanyLocation implements CommentEventSubject & HasEvents & Navigable & Node
  798. @join__implements(graph: CUSTOMER, interface: "CommentEventSubject")
  799. @join__implements(graph: CUSTOMER, interface: "HasEvents")
  800. @join__implements(graph: CUSTOMER, interface: "Navigable")
  801. @join__implements(graph: CUSTOMER, interface: "Node")
  802. @join__implements(graph: PRODUCT, interface: "CommentEventSubject")
  803. @join__implements(graph: PRODUCT, interface: "HasEvents")
  804. @join__implements(graph: PRODUCT, interface: "Navigable")
  805. @join__implements(graph: PRODUCT, interface: "Node")
  806. @join__type(graph: CUSTOMER)
  807. @join__type(graph: PRODUCT)
  808. {
  809. billingAddress: CompanyAddress
  810. buyerExperienceConfiguration: BuyerExperienceConfiguration
  811. company: Company!
  812. createdAt: DateTime!
  813. currency: CurrencyCode!
  814. defaultCursor: String!
  815. draftOrders(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: DraftOrderSortKeys = ID, query: String): DraftOrderConnection!
  816. events(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: EventSortKeys = ID, query: String): EventConnection!
  817. externalId: String
  818. hasTimelineComment: Boolean!
  819. id: ID!
  820. locale: String
  821. market: Market!
  822. name: String!
  823. note: String
  824. orderCount: Int!
  825. orders(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: OrderSortKeys = ID): OrderConnection!
  826. phone: String
  827. roleAssignments(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: CompanyContactRoleAssignmentSortKeys = ID, query: String): CompanyContactRoleAssignmentConnection!
  828. shippingAddress: CompanyAddress
  829. taxExemptions: [TaxExemption!]!
  830. taxRegistrationId: String
  831. totalSpent: MoneyV2!
  832. updatedAt: DateTime!
  833. }
  834. type CompanyLocationConnection
  835. @join__type(graph: CUSTOMER)
  836. @join__type(graph: PRODUCT)
  837. {
  838. edges: [CompanyLocationEdge!]!
  839. nodes: [CompanyLocation!]!
  840. pageInfo: PageInfo!
  841. }
  842. type CompanyLocationEdge
  843. @join__type(graph: CUSTOMER)
  844. @join__type(graph: PRODUCT)
  845. {
  846. cursor: String!
  847. node: CompanyLocation!
  848. }
  849. enum CompanyLocationSortKeys
  850. @join__type(graph: CUSTOMER)
  851. @join__type(graph: PRODUCT)
  852. {
  853. CREATED_AT
  854. UPDATED_AT
  855. NAME
  856. COMPANY_ID
  857. COMPANY_AND_LOCATION_NAME
  858. ID
  859. RELEVANCE
  860. }
  861. input ContextualPricingContext
  862. @join__type(graph: CUSTOMER)
  863. @join__type(graph: PRODUCT)
  864. {
  865. country: CountryCode
  866. companyLocationId: ID
  867. }
  868. type CountriesInShippingZones
  869. @join__type(graph: CUSTOMER)
  870. @join__type(graph: PRODUCT)
  871. {
  872. countryCodes: [CountryCode!]!
  873. includeRestOfWorld: Boolean!
  874. }
  875. enum CountryCode
  876. @join__type(graph: CUSTOMER)
  877. @join__type(graph: PRODUCT)
  878. {
  879. AF
  880. AX
  881. AL
  882. DZ
  883. AD
  884. AO
  885. AI
  886. AG
  887. AR
  888. AM
  889. AW
  890. AC
  891. AU
  892. AT
  893. AZ
  894. BS
  895. BH
  896. BD
  897. BB
  898. BY
  899. BE
  900. BZ
  901. BJ
  902. BM
  903. BT
  904. BO
  905. BA
  906. BW
  907. BV
  908. BR
  909. IO
  910. BN
  911. BG
  912. BF
  913. BI
  914. KH
  915. CA
  916. CV
  917. BQ
  918. KY
  919. CF
  920. TD
  921. CL
  922. CN
  923. CX
  924. CC
  925. CO
  926. KM
  927. CG
  928. CD
  929. CK
  930. CR
  931. HR
  932. CU
  933. CW
  934. CY
  935. CZ
  936. CI
  937. DK
  938. DJ
  939. DM
  940. DO
  941. EC
  942. EG
  943. SV
  944. GQ
  945. ER
  946. EE
  947. SZ
  948. ET
  949. FK
  950. FO
  951. FJ
  952. FI
  953. FR
  954. GF
  955. PF
  956. TF
  957. GA
  958. GM
  959. GE
  960. DE
  961. GH
  962. GI
  963. GR
  964. GL
  965. GD
  966. GP
  967. GT
  968. GG
  969. GN
  970. GW
  971. GY
  972. HT
  973. HM
  974. VA
  975. HN
  976. HK
  977. HU
  978. IS
  979. IN
  980. ID
  981. IR
  982. IQ
  983. IE
  984. IM
  985. IL
  986. IT
  987. JM
  988. JP
  989. JE
  990. JO
  991. KZ
  992. KE
  993. KI
  994. KP
  995. XK
  996. KW
  997. KG
  998. LA
  999. LV
  1000. LB
  1001. LS
  1002. LR
  1003. LY
  1004. LI
  1005. LT
  1006. LU
  1007. MO
  1008. MG
  1009. MW
  1010. MY
  1011. MV
  1012. ML
  1013. MT
  1014. MQ
  1015. MR
  1016. MU
  1017. YT
  1018. MX
  1019. MD
  1020. MC
  1021. MN
  1022. ME
  1023. MS
  1024. MA
  1025. MZ
  1026. MM
  1027. NA
  1028. NR
  1029. NP
  1030. NL
  1031. AN
  1032. NC
  1033. NZ
  1034. NI
  1035. NE
  1036. NG
  1037. NU
  1038. NF
  1039. MK
  1040. NO
  1041. OM
  1042. PK
  1043. PS
  1044. PA
  1045. PG
  1046. PY
  1047. PE
  1048. PH
  1049. PN
  1050. PL
  1051. PT
  1052. QA
  1053. CM
  1054. RE
  1055. RO
  1056. RU
  1057. RW
  1058. BL
  1059. SH
  1060. KN
  1061. LC
  1062. MF
  1063. PM
  1064. WS
  1065. SM
  1066. ST
  1067. SA
  1068. SN
  1069. RS
  1070. SC
  1071. SL
  1072. SG
  1073. SX
  1074. SK
  1075. SI
  1076. SB
  1077. SO
  1078. ZA
  1079. GS
  1080. KR
  1081. SS
  1082. ES
  1083. LK
  1084. VC
  1085. SD
  1086. SR
  1087. SJ
  1088. SE
  1089. CH
  1090. SY
  1091. TW
  1092. TJ
  1093. TZ
  1094. TH
  1095. TL
  1096. TG
  1097. TK
  1098. TO
  1099. TT
  1100. TA
  1101. TN
  1102. TR
  1103. TM
  1104. TC
  1105. TV
  1106. UG
  1107. UA
  1108. AE
  1109. GB
  1110. US
  1111. UM
  1112. UY
  1113. UZ
  1114. VU
  1115. VE
  1116. VN
  1117. VG
  1118. WF
  1119. EH
  1120. YE
  1121. ZM
  1122. ZW
  1123. ZZ
  1124. }
  1125. type CountryHarmonizedSystemCode
  1126. @join__type(graph: CUSTOMER)
  1127. @join__type(graph: PRODUCT)
  1128. {
  1129. countryCode: CountryCode!
  1130. harmonizedSystemCode: String!
  1131. }
  1132. type CountryHarmonizedSystemCodeConnection
  1133. @join__type(graph: CUSTOMER)
  1134. @join__type(graph: PRODUCT)
  1135. {
  1136. edges: [CountryHarmonizedSystemCodeEdge!]!
  1137. nodes: [CountryHarmonizedSystemCode!]!
  1138. pageInfo: PageInfo!
  1139. }
  1140. type CountryHarmonizedSystemCodeEdge
  1141. @join__type(graph: CUSTOMER)
  1142. @join__type(graph: PRODUCT)
  1143. {
  1144. cursor: String!
  1145. node: CountryHarmonizedSystemCode!
  1146. }
  1147. input CreateMediaInput
  1148. @join__type(graph: PRODUCT)
  1149. {
  1150. originalSource: String!
  1151. alt: String
  1152. mediaContentType: MediaContentType!
  1153. }
  1154. enum CropRegion
  1155. @join__type(graph: CUSTOMER)
  1156. @join__type(graph: PRODUCT)
  1157. {
  1158. CENTER
  1159. TOP
  1160. BOTTOM
  1161. LEFT
  1162. RIGHT
  1163. }
  1164. enum CurrencyCode
  1165. @join__type(graph: CUSTOMER)
  1166. @join__type(graph: PRODUCT)
  1167. {
  1168. AED
  1169. AFN
  1170. ALL
  1171. AMD
  1172. ANG
  1173. AOA
  1174. ARS
  1175. AUD
  1176. AWG
  1177. AZN
  1178. BAM
  1179. BBD
  1180. BDT
  1181. BGN
  1182. BHD
  1183. BIF
  1184. BMD
  1185. BND
  1186. BOB
  1187. BRL
  1188. BSD
  1189. BTN
  1190. BWP
  1191. BYN
  1192. BZD
  1193. CAD
  1194. CDF
  1195. CHF
  1196. CLP
  1197. CNY
  1198. COP
  1199. CRC
  1200. CVE
  1201. CZK
  1202. DJF
  1203. DKK
  1204. DOP
  1205. DZD
  1206. EGP
  1207. ERN
  1208. ETB
  1209. EUR
  1210. FJD
  1211. FKP
  1212. GBP
  1213. GEL
  1214. GHS
  1215. GIP
  1216. GMD
  1217. GNF
  1218. GTQ
  1219. GYD
  1220. HKD
  1221. HNL
  1222. HRK
  1223. HTG
  1224. HUF
  1225. IDR
  1226. ILS
  1227. INR
  1228. IQD
  1229. IRR
  1230. ISK
  1231. JEP
  1232. JMD
  1233. JOD
  1234. JPY
  1235. KES
  1236. KGS
  1237. KHR
  1238. KID
  1239. KMF
  1240. KRW
  1241. KWD
  1242. KYD
  1243. KZT
  1244. LAK
  1245. LBP
  1246. LKR
  1247. LRD
  1248. LSL
  1249. LTL
  1250. LVL
  1251. LYD
  1252. MAD
  1253. MDL
  1254. MGA
  1255. MKD
  1256. MMK
  1257. MNT
  1258. MOP
  1259. MRU
  1260. MUR
  1261. MVR
  1262. MWK
  1263. MXN
  1264. MYR
  1265. MZN
  1266. NAD
  1267. NGN
  1268. NIO
  1269. NOK
  1270. NPR
  1271. NZD
  1272. OMR
  1273. PAB
  1274. PEN
  1275. PGK
  1276. PHP
  1277. PKR
  1278. PLN
  1279. PYG
  1280. QAR
  1281. RON
  1282. RSD
  1283. RUB
  1284. RWF
  1285. SAR
  1286. SBD
  1287. SCR
  1288. SDG
  1289. SEK
  1290. SGD
  1291. SHP
  1292. SLL
  1293. SOS
  1294. SRD
  1295. SSP
  1296. STN
  1297. SYP
  1298. SZL
  1299. THB
  1300. TJS
  1301. TMT
  1302. TND
  1303. TOP
  1304. TRY
  1305. TTD
  1306. TWD
  1307. TZS
  1308. UAH
  1309. UGX
  1310. USD
  1311. UYU
  1312. UZS
  1313. VED
  1314. VES
  1315. VND
  1316. VUV
  1317. WST
  1318. XAF
  1319. XCD
  1320. XOF
  1321. XPF
  1322. XXX
  1323. YER
  1324. ZAR
  1325. ZMW
  1326. BYR @deprecated
  1327. }
  1328. type CurrencyFormats
  1329. @join__type(graph: CUSTOMER)
  1330. @join__type(graph: PRODUCT)
  1331. {
  1332. moneyFormat: FormattedString!
  1333. moneyInEmailsFormat: String!
  1334. moneyWithCurrencyFormat: FormattedString!
  1335. moneyWithCurrencyInEmailsFormat: String!
  1336. }
  1337. type CurrencySetting
  1338. @join__type(graph: CUSTOMER)
  1339. @join__type(graph: PRODUCT)
  1340. {
  1341. currencyCode: CurrencyCode!
  1342. currencyName: String!
  1343. enabled: Boolean!
  1344. rateUpdatedAt: DateTime
  1345. }
  1346. type CurrencySettingConnection
  1347. @join__type(graph: CUSTOMER)
  1348. @join__type(graph: PRODUCT)
  1349. {
  1350. edges: [CurrencySettingEdge!]!
  1351. nodes: [CurrencySetting!]!
  1352. pageInfo: PageInfo!
  1353. }
  1354. type CurrencySettingEdge
  1355. @join__type(graph: CUSTOMER)
  1356. @join__type(graph: PRODUCT)
  1357. {
  1358. cursor: String!
  1359. node: CurrencySetting!
  1360. }
  1361. type Customer implements CommentEventSubject & HasEvents & HasMetafieldDefinitions & HasMetafields & LegacyInteroperability & Node
  1362. @join__implements(graph: CUSTOMER, interface: "CommentEventSubject")
  1363. @join__implements(graph: CUSTOMER, interface: "HasEvents")
  1364. @join__implements(graph: CUSTOMER, interface: "HasMetafieldDefinitions")
  1365. @join__implements(graph: CUSTOMER, interface: "HasMetafields")
  1366. @join__implements(graph: CUSTOMER, interface: "LegacyInteroperability")
  1367. @join__implements(graph: CUSTOMER, interface: "Node")
  1368. @join__implements(graph: PRODUCT, interface: "CommentEventSubject")
  1369. @join__implements(graph: PRODUCT, interface: "HasEvents")
  1370. @join__implements(graph: PRODUCT, interface: "HasMetafieldDefinitions")
  1371. @join__implements(graph: PRODUCT, interface: "HasMetafields")
  1372. @join__implements(graph: PRODUCT, interface: "LegacyInteroperability")
  1373. @join__implements(graph: PRODUCT, interface: "Node")
  1374. @join__type(graph: CUSTOMER)
  1375. @join__type(graph: PRODUCT)
  1376. {
  1377. addresses(first: Int): [MailingAddress!]!
  1378. amountSpent: MoneyV2!
  1379. averageOrderAmountV2: MoneyV2
  1380. canDelete: Boolean!
  1381. companyContactProfiles: [CompanyContact!]!
  1382. createdAt: DateTime!
  1383. defaultAddress: MailingAddress
  1384. displayName: String!
  1385. email: String
  1386. emailMarketingConsent: CustomerEmailMarketingConsentState
  1387. events(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: EventSortKeys = ID, query: String): EventConnection!
  1388. firstName: String
  1389. hasTimelineComment: Boolean!
  1390. id: ID!
  1391. image: Image!
  1392. lastName: String
  1393. lastOrder: Order
  1394. legacyResourceId: UnsignedInt64!
  1395. lifetimeDuration: String!
  1396. locale: String!
  1397. market: Market
  1398. metafield(namespace: String!, key: String!): Metafield
  1399. metafieldDefinitions(namespace: String, pinnedStatus: MetafieldDefinitionPinnedStatus = ANY, first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: MetafieldDefinitionSortKeys = ID, query: String): MetafieldDefinitionConnection!
  1400. metafields(namespace: String, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): MetafieldConnection!
  1401. multipassIdentifier: String
  1402. note: String
  1403. numberOfOrders: UnsignedInt64!
  1404. orders(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: OrderSortKeys = ID, query: String): OrderConnection!
  1405. paymentMethods(showRevoked: Boolean = false, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): CustomerPaymentMethodConnection!
  1406. phone: String
  1407. privateMetafield(namespace: String!, key: String!): PrivateMetafield
  1408. privateMetafields(namespace: String, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): PrivateMetafieldConnection!
  1409. productSubscriberStatus: CustomerProductSubscriberStatus!
  1410. smsMarketingConsent: CustomerSmsMarketingConsentState
  1411. state: CustomerState!
  1412. statistics: CustomerStatistics!
  1413. subscriptionContracts(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): SubscriptionContractConnection!
  1414. tags: [String!]!
  1415. taxExempt: Boolean!
  1416. taxExemptions: [TaxExemption!]!
  1417. unsubscribeUrl: URL!
  1418. updatedAt: DateTime!
  1419. validEmailAddress: Boolean!
  1420. verifiedEmail: Boolean!
  1421. }
  1422. enum CustomerConsentCollectedFrom
  1423. @join__type(graph: CUSTOMER)
  1424. @join__type(graph: PRODUCT)
  1425. {
  1426. SHOPIFY
  1427. OTHER
  1428. }
  1429. type CustomerCreatePayload
  1430. @join__type(graph: CUSTOMER)
  1431. {
  1432. customer: Customer
  1433. userErrors: [UserError!]!
  1434. }
  1435. type CustomerCreditCard
  1436. @join__type(graph: CUSTOMER)
  1437. @join__type(graph: PRODUCT)
  1438. {
  1439. billingAddress: CustomerCreditCardBillingAddress
  1440. brand: String!
  1441. expiresSoon: Boolean!
  1442. expiryMonth: Int!
  1443. expiryYear: Int!
  1444. firstDigits: String
  1445. isRevocable: Boolean!
  1446. lastDigits: String!
  1447. maskedNumber: String!
  1448. name: String!
  1449. source: String
  1450. virtualLastDigits: String
  1451. }
  1452. type CustomerCreditCardBillingAddress
  1453. @join__type(graph: CUSTOMER)
  1454. @join__type(graph: PRODUCT)
  1455. {
  1456. address1: String
  1457. city: String
  1458. country: String
  1459. countryCode: CountryCode
  1460. province: String
  1461. provinceCode: String
  1462. zip: String
  1463. }
  1464. type CustomerEmailMarketingConsentState
  1465. @join__type(graph: CUSTOMER)
  1466. @join__type(graph: PRODUCT)
  1467. {
  1468. consentUpdatedAt: DateTime
  1469. marketingOptInLevel: CustomerMarketingOptInLevel
  1470. marketingState: CustomerEmailMarketingState!
  1471. }
  1472. enum CustomerEmailMarketingState
  1473. @join__type(graph: CUSTOMER)
  1474. @join__type(graph: PRODUCT)
  1475. {
  1476. NOT_SUBSCRIBED
  1477. PENDING
  1478. SUBSCRIBED
  1479. UNSUBSCRIBED
  1480. REDACTED
  1481. INVALID
  1482. }
  1483. input CustomerInput
  1484. @join__type(graph: CUSTOMER)
  1485. {
  1486. addresses: [MailingAddressInput!]
  1487. email: String
  1488. firstName: String
  1489. id: ID
  1490. lastName: String
  1491. locale: String
  1492. metafields: [MetafieldInput!]
  1493. note: String
  1494. phone: String
  1495. privateMetafields: [PrivateMetafieldInput!]
  1496. tags: [String!]
  1497. }
  1498. type CustomerJourneySummary
  1499. @join__type(graph: CUSTOMER)
  1500. @join__type(graph: PRODUCT)
  1501. {
  1502. customerOrderIndex: Int
  1503. daysToConversion: Int
  1504. firstVisit: CustomerVisit
  1505. lastVisit: CustomerVisit
  1506. moments(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): CustomerMomentConnection
  1507. momentsCount: Int
  1508. ready: Boolean!
  1509. }
  1510. enum CustomerMarketingOptInLevel
  1511. @join__type(graph: CUSTOMER)
  1512. @join__type(graph: PRODUCT)
  1513. {
  1514. SINGLE_OPT_IN
  1515. CONFIRMED_OPT_IN
  1516. UNKNOWN
  1517. }
  1518. interface CustomerMoment
  1519. @join__type(graph: CUSTOMER)
  1520. @join__type(graph: PRODUCT)
  1521. {
  1522. occurredAt: DateTime!
  1523. }
  1524. type CustomerMomentConnection
  1525. @join__type(graph: CUSTOMER)
  1526. @join__type(graph: PRODUCT)
  1527. {
  1528. edges: [CustomerMomentEdge!]!
  1529. nodes: [CustomerMoment!]!
  1530. pageInfo: PageInfo!
  1531. }
  1532. type CustomerMomentEdge
  1533. @join__type(graph: CUSTOMER)
  1534. @join__type(graph: PRODUCT)
  1535. {
  1536. cursor: String!
  1537. node: CustomerMoment!
  1538. }
  1539. union CustomerPaymentInstrument
  1540. @join__type(graph: CUSTOMER)
  1541. @join__type(graph: PRODUCT)
  1542. = CustomerCreditCard | CustomerPaypalBillingAgreement | CustomerShopPayAgreement
  1543. type CustomerPaymentInstrumentBillingAddress
  1544. @join__type(graph: CUSTOMER)
  1545. @join__type(graph: PRODUCT)
  1546. {
  1547. address1: String
  1548. city: String
  1549. country: String
  1550. countryCode: CountryCode
  1551. name: String
  1552. province: String
  1553. provinceCode: String
  1554. zip: String
  1555. }
  1556. type CustomerPaymentMethod implements Node
  1557. @join__implements(graph: CUSTOMER, interface: "Node")
  1558. @join__implements(graph: PRODUCT, interface: "Node")
  1559. @join__type(graph: CUSTOMER)
  1560. @join__type(graph: PRODUCT)
  1561. {
  1562. customer: Customer
  1563. id: ID!
  1564. instrument: CustomerPaymentInstrument
  1565. revokedAt: DateTime
  1566. revokedReason: CustomerPaymentMethodRevocationReason
  1567. subscriptionContracts(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): SubscriptionContractConnection!
  1568. }
  1569. type CustomerPaymentMethodConnection
  1570. @join__type(graph: CUSTOMER)
  1571. @join__type(graph: PRODUCT)
  1572. {
  1573. edges: [CustomerPaymentMethodEdge!]!
  1574. nodes: [CustomerPaymentMethod!]!
  1575. pageInfo: PageInfo!
  1576. }
  1577. type CustomerPaymentMethodEdge
  1578. @join__type(graph: CUSTOMER)
  1579. @join__type(graph: PRODUCT)
  1580. {
  1581. cursor: String!
  1582. node: CustomerPaymentMethod!
  1583. }
  1584. enum CustomerPaymentMethodRevocationReason
  1585. @join__type(graph: CUSTOMER)
  1586. @join__type(graph: PRODUCT)
  1587. {
  1588. AUTHORIZE_NET_GATEWAY_NOT_ENABLED
  1589. AUTHORIZE_NET_RETURNED_NO_PAYMENT_METHOD
  1590. FAILED_TO_UPDATE_CREDIT_CARD
  1591. STRIPE_API_AUTHENTICATION_ERROR
  1592. STRIPE_API_INVALID_REQUEST_ERROR
  1593. STRIPE_GATEWAY_NOT_ENABLED
  1594. STRIPE_RETURNED_NO_PAYMENT_METHOD
  1595. STRIPE_PAYMENT_METHOD_NOT_CARD
  1596. BRAINTREE_API_AUTHENTICATION_ERROR
  1597. BRAINTREE_GATEWAY_NOT_ENABLED
  1598. BRAINTREE_RETURNED_NO_PAYMENT_METHOD
  1599. BRAINTREE_PAYMENT_METHOD_NOT_CARD
  1600. MANUALLY_REVOKED
  1601. MERGED
  1602. }
  1603. type CustomerPaypalBillingAgreement
  1604. @join__type(graph: CUSTOMER)
  1605. @join__type(graph: PRODUCT)
  1606. {
  1607. billingAddress: CustomerPaymentInstrumentBillingAddress
  1608. inactive: Boolean!
  1609. isRevocable: Boolean!
  1610. paypalAccountEmail: String
  1611. }
  1612. enum CustomerPredictedSpendTier
  1613. @join__type(graph: CUSTOMER)
  1614. @join__type(graph: PRODUCT)
  1615. {
  1616. HIGH
  1617. MEDIUM
  1618. LOW
  1619. }
  1620. enum CustomerProductSubscriberStatus
  1621. @join__type(graph: CUSTOMER)
  1622. @join__type(graph: PRODUCT)
  1623. {
  1624. ACTIVE
  1625. CANCELLED
  1626. EXPIRED
  1627. FAILED
  1628. NEVER_SUBSCRIBED
  1629. PAUSED
  1630. }
  1631. type CustomerShopPayAgreement
  1632. @join__type(graph: CUSTOMER)
  1633. @join__type(graph: PRODUCT)
  1634. {
  1635. expiresSoon: Boolean!
  1636. expiryMonth: Int!
  1637. expiryYear: Int!
  1638. inactive: Boolean!
  1639. isRevocable: Boolean!
  1640. lastDigits: String!
  1641. maskedNumber: String!
  1642. name: String!
  1643. }
  1644. type CustomerSmsMarketingConsentState
  1645. @join__type(graph: CUSTOMER)
  1646. @join__type(graph: PRODUCT)
  1647. {
  1648. consentCollectedFrom: CustomerConsentCollectedFrom
  1649. consentUpdatedAt: DateTime
  1650. marketingOptInLevel: CustomerMarketingOptInLevel!
  1651. marketingState: CustomerSmsMarketingState!
  1652. }
  1653. enum CustomerSmsMarketingState
  1654. @join__type(graph: CUSTOMER)
  1655. @join__type(graph: PRODUCT)
  1656. {
  1657. NOT_SUBSCRIBED
  1658. PENDING
  1659. SUBSCRIBED
  1660. UNSUBSCRIBED
  1661. REDACTED
  1662. }
  1663. enum CustomerState
  1664. @join__type(graph: CUSTOMER)
  1665. @join__type(graph: PRODUCT)
  1666. {
  1667. DECLINED
  1668. DISABLED
  1669. ENABLED
  1670. INVITED
  1671. }
  1672. type CustomerStatistics
  1673. @join__type(graph: CUSTOMER)
  1674. @join__type(graph: PRODUCT)
  1675. {
  1676. predictedSpendTier: CustomerPredictedSpendTier
  1677. }
  1678. type CustomerVisit implements CustomerMoment & Node
  1679. @join__implements(graph: CUSTOMER, interface: "CustomerMoment")
  1680. @join__implements(graph: CUSTOMER, interface: "Node")
  1681. @join__implements(graph: PRODUCT, interface: "CustomerMoment")
  1682. @join__implements(graph: PRODUCT, interface: "Node")
  1683. @join__type(graph: CUSTOMER)
  1684. @join__type(graph: PRODUCT)
  1685. {
  1686. id: ID!
  1687. landingPage: URL
  1688. landingPageHtml: HTML
  1689. marketingEvent: MarketingEvent
  1690. occurredAt: DateTime!
  1691. referralCode: String
  1692. referralInfoHtml: FormattedString!
  1693. referrerUrl: URL
  1694. source: String!
  1695. sourceDescription: String
  1696. sourceType: MarketingTactic
  1697. utmParameters: UTMParameters
  1698. }
  1699. scalar DateTime
  1700. @join__type(graph: CUSTOMER)
  1701. @join__type(graph: PRODUCT)
  1702. scalar Decimal
  1703. @join__type(graph: CUSTOMER)
  1704. @join__type(graph: PRODUCT)
  1705. type DeliveryAvailableService
  1706. @join__type(graph: CUSTOMER)
  1707. @join__type(graph: PRODUCT)
  1708. {
  1709. countries: DeliveryCountryCodesOrRestOfWorld!
  1710. name: String!
  1711. }
  1712. type DeliveryCarrierService implements Node
  1713. @join__implements(graph: CUSTOMER, interface: "Node")
  1714. @join__implements(graph: PRODUCT, interface: "Node")
  1715. @join__type(graph: CUSTOMER)
  1716. @join__type(graph: PRODUCT)
  1717. {
  1718. availableServicesForCountries(origins: [ID!], countryCodes: [CountryCode!], restOfWorld: Boolean!): [DeliveryAvailableService!]!
  1719. formattedName: String
  1720. icon: Image!
  1721. id: ID!
  1722. name: String
  1723. }
  1724. type DeliveryCondition implements Node
  1725. @join__implements(graph: CUSTOMER, interface: "Node")
  1726. @join__implements(graph: PRODUCT, interface: "Node")
  1727. @join__type(graph: CUSTOMER)
  1728. @join__type(graph: PRODUCT)
  1729. {
  1730. conditionCriteria: DeliveryConditionCriteria!
  1731. field: DeliveryConditionField!
  1732. id: ID!
  1733. operator: DeliveryConditionOperator!
  1734. }
  1735. union DeliveryConditionCriteria
  1736. @join__type(graph: CUSTOMER)
  1737. @join__type(graph: PRODUCT)
  1738. = MoneyV2 | Weight
  1739. enum DeliveryConditionField
  1740. @join__type(graph: CUSTOMER)
  1741. @join__type(graph: PRODUCT)
  1742. {
  1743. TOTAL_WEIGHT
  1744. TOTAL_PRICE
  1745. }
  1746. enum DeliveryConditionOperator
  1747. @join__type(graph: CUSTOMER)
  1748. @join__type(graph: PRODUCT)
  1749. {
  1750. GREATER_THAN_OR_EQUAL_TO
  1751. LESS_THAN_OR_EQUAL_TO
  1752. }
  1753. type DeliveryCountry implements Node
  1754. @join__implements(graph: CUSTOMER, interface: "Node")
  1755. @join__implements(graph: PRODUCT, interface: "Node")
  1756. @join__type(graph: CUSTOMER)
  1757. @join__type(graph: PRODUCT)
  1758. {
  1759. code: DeliveryCountryCodeOrRestOfWorld!
  1760. id: ID!
  1761. name: String!
  1762. provinces: [DeliveryProvince!]!
  1763. translatedName: String!
  1764. }
  1765. type DeliveryCountryAndZone
  1766. @join__type(graph: CUSTOMER)
  1767. @join__type(graph: PRODUCT)
  1768. {
  1769. country: DeliveryCountry!
  1770. zone: String!
  1771. }
  1772. type DeliveryCountryCodeOrRestOfWorld
  1773. @join__type(graph: CUSTOMER)
  1774. @join__type(graph: PRODUCT)
  1775. {
  1776. countryCode: CountryCode
  1777. restOfWorld: Boolean!
  1778. }
  1779. type DeliveryCountryCodesOrRestOfWorld
  1780. @join__type(graph: CUSTOMER)
  1781. @join__type(graph: PRODUCT)
  1782. {
  1783. countryCodes: [CountryCode!]!
  1784. restOfWorld: Boolean!
  1785. }
  1786. type DeliveryLocationGroup implements Node
  1787. @join__implements(graph: CUSTOMER, interface: "Node")
  1788. @join__implements(graph: PRODUCT, interface: "Node")
  1789. @join__type(graph: CUSTOMER)
  1790. @join__type(graph: PRODUCT)
  1791. {
  1792. id: ID!
  1793. locations(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: LocationSortKeys = NAME, query: String, includeLegacy: Boolean = false, includeInactive: Boolean = false): LocationConnection!
  1794. }
  1795. type DeliveryLocationGroupZone
  1796. @join__type(graph: CUSTOMER)
  1797. @join__type(graph: PRODUCT)
  1798. {
  1799. methodDefinitionCounts: DeliveryMethodDefinitionCounts!
  1800. methodDefinitions(eligible: Boolean, type: DeliveryMethodDefinitionType, first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: MethodDefinitionSortKeys = ID): DeliveryMethodDefinitionConnection!
  1801. zone: DeliveryZone!
  1802. }
  1803. type DeliveryLocationGroupZoneConnection
  1804. @join__type(graph: CUSTOMER)
  1805. @join__type(graph: PRODUCT)
  1806. {
  1807. edges: [DeliveryLocationGroupZoneEdge!]!
  1808. nodes: [DeliveryLocationGroupZone!]!
  1809. pageInfo: PageInfo!
  1810. }
  1811. type DeliveryLocationGroupZoneEdge
  1812. @join__type(graph: CUSTOMER)
  1813. @join__type(graph: PRODUCT)
  1814. {
  1815. cursor: String!
  1816. node: DeliveryLocationGroupZone!
  1817. }
  1818. type DeliveryMethod implements Node
  1819. @join__implements(graph: CUSTOMER, interface: "Node")
  1820. @join__implements(graph: PRODUCT, interface: "Node")
  1821. @join__type(graph: CUSTOMER)
  1822. @join__type(graph: PRODUCT)
  1823. {
  1824. id: ID!
  1825. maxDeliveryDateTime: DateTime
  1826. methodType: DeliveryMethodType!
  1827. minDeliveryDateTime: DateTime
  1828. }
  1829. type DeliveryMethodDefinition implements Node
  1830. @join__implements(graph: CUSTOMER, interface: "Node")
  1831. @join__implements(graph: PRODUCT, interface: "Node")
  1832. @join__type(graph: CUSTOMER)
  1833. @join__type(graph: PRODUCT)
  1834. {
  1835. active: Boolean!
  1836. description: String
  1837. id: ID!
  1838. methodConditions: [DeliveryCondition!]!
  1839. name: String!
  1840. rateProvider: DeliveryRateProvider!
  1841. }
  1842. type DeliveryMethodDefinitionConnection
  1843. @join__type(graph: CUSTOMER)
  1844. @join__type(graph: PRODUCT)
  1845. {
  1846. edges: [DeliveryMethodDefinitionEdge!]!
  1847. nodes: [DeliveryMethodDefinition!]!
  1848. pageInfo: PageInfo!
  1849. }
  1850. type DeliveryMethodDefinitionCounts
  1851. @join__type(graph: CUSTOMER)
  1852. @join__type(graph: PRODUCT)
  1853. {
  1854. participantDefinitionsCount: Int!
  1855. rateDefinitionsCount: Int!
  1856. }
  1857. type DeliveryMethodDefinitionEdge
  1858. @join__type(graph: CUSTOMER)
  1859. @join__type(graph: PRODUCT)
  1860. {
  1861. cursor: String!
  1862. node: DeliveryMethodDefinition!
  1863. }
  1864. enum DeliveryMethodDefinitionType
  1865. @join__type(graph: CUSTOMER)
  1866. @join__type(graph: PRODUCT)
  1867. {
  1868. MERCHANT
  1869. PARTICIPANT
  1870. }
  1871. enum DeliveryMethodType
  1872. @join__type(graph: CUSTOMER)
  1873. @join__type(graph: PRODUCT)
  1874. {
  1875. SHIPPING
  1876. PICK_UP
  1877. NONE
  1878. RETAIL
  1879. LOCAL
  1880. }
  1881. type DeliveryParticipant implements Node
  1882. @join__implements(graph: CUSTOMER, interface: "Node")
  1883. @join__implements(graph: PRODUCT, interface: "Node")
  1884. @join__type(graph: CUSTOMER)
  1885. @join__type(graph: PRODUCT)
  1886. {
  1887. adaptToNewServicesFlag: Boolean!
  1888. carrierService: DeliveryCarrierService!
  1889. fixedFee: MoneyV2
  1890. id: ID!
  1891. participantServices: [DeliveryParticipantService!]!
  1892. percentageOfRateFee: Float!
  1893. }
  1894. type DeliveryParticipantService
  1895. @join__type(graph: CUSTOMER)
  1896. @join__type(graph: PRODUCT)
  1897. {
  1898. active: Boolean!
  1899. name: String!
  1900. }
  1901. type DeliveryProductVariantsCount
  1902. @join__type(graph: CUSTOMER)
  1903. @join__type(graph: PRODUCT)
  1904. {
  1905. capped: Boolean!
  1906. count: Int!
  1907. }
  1908. type DeliveryProfile implements Node
  1909. @join__implements(graph: CUSTOMER, interface: "Node")
  1910. @join__implements(graph: PRODUCT, interface: "Node")
  1911. @join__type(graph: CUSTOMER)
  1912. @join__type(graph: PRODUCT)
  1913. {
  1914. activeMethodDefinitionsCount: Int!
  1915. default: Boolean!
  1916. id: ID!
  1917. legacyMode: Boolean!
  1918. locationsWithoutRatesCount: Int!
  1919. name: String!
  1920. originLocationCount: Int!
  1921. productVariantsCountV2: DeliveryProductVariantsCount!
  1922. profileItems(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): DeliveryProfileItemConnection!
  1923. profileLocationGroups: [DeliveryProfileLocationGroup!]!
  1924. sellingPlanGroups(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): SellingPlanGroupConnection!
  1925. unassignedLocations: [Location!]!
  1926. zoneCountryCount: Int!
  1927. }
  1928. type DeliveryProfileItem implements Node
  1929. @join__implements(graph: CUSTOMER, interface: "Node")
  1930. @join__implements(graph: PRODUCT, interface: "Node")
  1931. @join__type(graph: CUSTOMER)
  1932. @join__type(graph: PRODUCT)
  1933. {
  1934. id: ID!
  1935. product: Product!
  1936. variants(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): ProductVariantConnection!
  1937. }
  1938. type DeliveryProfileItemConnection
  1939. @join__type(graph: CUSTOMER)
  1940. @join__type(graph: PRODUCT)
  1941. {
  1942. edges: [DeliveryProfileItemEdge!]!
  1943. nodes: [DeliveryProfileItem!]!
  1944. pageInfo: PageInfo!
  1945. }
  1946. type DeliveryProfileItemEdge
  1947. @join__type(graph: CUSTOMER)
  1948. @join__type(graph: PRODUCT)
  1949. {
  1950. cursor: String!
  1951. node: DeliveryProfileItem!
  1952. }
  1953. type DeliveryProfileLocationGroup
  1954. @join__type(graph: CUSTOMER)
  1955. @join__type(graph: PRODUCT)
  1956. {
  1957. countriesInAnyZone: [DeliveryCountryAndZone!]!
  1958. locationGroup: DeliveryLocationGroup!
  1959. locationGroupZones(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): DeliveryLocationGroupZoneConnection!
  1960. }
  1961. type DeliveryProvince implements Node
  1962. @join__implements(graph: CUSTOMER, interface: "Node")
  1963. @join__implements(graph: PRODUCT, interface: "Node")
  1964. @join__type(graph: CUSTOMER)
  1965. @join__type(graph: PRODUCT)
  1966. {
  1967. code: String!
  1968. id: ID!
  1969. name: String!
  1970. translatedName: String!
  1971. }
  1972. type DeliveryRateDefinition implements Node
  1973. @join__implements(graph: CUSTOMER, interface: "Node")
  1974. @join__implements(graph: PRODUCT, interface: "Node")
  1975. @join__type(graph: CUSTOMER)
  1976. @join__type(graph: PRODUCT)
  1977. {
  1978. id: ID!
  1979. price: MoneyV2!
  1980. }
  1981. union DeliveryRateProvider
  1982. @join__type(graph: CUSTOMER)
  1983. @join__type(graph: PRODUCT)
  1984. = DeliveryParticipant | DeliveryRateDefinition
  1985. type DeliveryZone implements Node
  1986. @join__implements(graph: CUSTOMER, interface: "Node")
  1987. @join__implements(graph: PRODUCT, interface: "Node")
  1988. @join__type(graph: CUSTOMER)
  1989. @join__type(graph: PRODUCT)
  1990. {
  1991. countries: [DeliveryCountry!]!
  1992. id: ID!
  1993. name: String!
  1994. }
  1995. enum DigitalWallet
  1996. @join__type(graph: CUSTOMER)
  1997. @join__type(graph: PRODUCT)
  1998. {
  1999. APPLE_PAY
  2000. ANDROID_PAY
  2001. GOOGLE_PAY
  2002. SHOPIFY_PAY
  2003. }
  2004. type DiscountAllocation
  2005. @join__type(graph: CUSTOMER)
  2006. @join__type(graph: PRODUCT)
  2007. {
  2008. allocatedAmountSet: MoneyBag!
  2009. discountApplication: DiscountApplication!
  2010. }
  2011. interface DiscountApplication
  2012. @join__type(graph: CUSTOMER)
  2013. @join__type(graph: PRODUCT)
  2014. {
  2015. allocationMethod: DiscountApplicationAllocationMethod!
  2016. index: Int!
  2017. targetSelection: DiscountApplicationTargetSelection!
  2018. targetType: DiscountApplicationTargetType!
  2019. value: PricingValue!
  2020. }
  2021. enum DiscountApplicationAllocationMethod
  2022. @join__type(graph: CUSTOMER)
  2023. @join__type(graph: PRODUCT)
  2024. {
  2025. ACROSS
  2026. EACH
  2027. }
  2028. type DiscountApplicationConnection
  2029. @join__type(graph: CUSTOMER)
  2030. @join__type(graph: PRODUCT)
  2031. {
  2032. edges: [DiscountApplicationEdge!]!
  2033. nodes: [DiscountApplication!]!
  2034. pageInfo: PageInfo!
  2035. }
  2036. type DiscountApplicationEdge
  2037. @join__type(graph: CUSTOMER)
  2038. @join__type(graph: PRODUCT)
  2039. {
  2040. cursor: String!
  2041. node: DiscountApplication!
  2042. }
  2043. enum DiscountApplicationTargetSelection
  2044. @join__type(graph: CUSTOMER)
  2045. @join__type(graph: PRODUCT)
  2046. {
  2047. ALL
  2048. ENTITLED
  2049. EXPLICIT
  2050. }
  2051. enum DiscountApplicationTargetType
  2052. @join__type(graph: CUSTOMER)
  2053. @join__type(graph: PRODUCT)
  2054. {
  2055. LINE_ITEM
  2056. SHIPPING_LINE
  2057. }
  2058. type DiscountCodeApplication implements DiscountApplication
  2059. @join__implements(graph: CUSTOMER, interface: "DiscountApplication")
  2060. @join__implements(graph: PRODUCT, interface: "DiscountApplication")
  2061. @join__type(graph: CUSTOMER)
  2062. @join__type(graph: PRODUCT)
  2063. {
  2064. allocationMethod: DiscountApplicationAllocationMethod!
  2065. code: String!
  2066. index: Int!
  2067. targetSelection: DiscountApplicationTargetSelection!
  2068. targetType: DiscountApplicationTargetType!
  2069. value: PricingValue!
  2070. }
  2071. enum DiscountTargetType
  2072. @join__type(graph: CUSTOMER)
  2073. @join__type(graph: PRODUCT)
  2074. {
  2075. LINE_ITEM
  2076. SHIPPING_LINE
  2077. }
  2078. enum DiscountType
  2079. @join__type(graph: CUSTOMER)
  2080. @join__type(graph: PRODUCT)
  2081. {
  2082. MANUAL
  2083. CODE_DISCOUNT
  2084. }
  2085. interface DisplayableError
  2086. @join__type(graph: CUSTOMER)
  2087. @join__type(graph: PRODUCT)
  2088. {
  2089. field: [String!]
  2090. message: String!
  2091. }
  2092. enum DisputeStatus
  2093. @join__type(graph: CUSTOMER)
  2094. @join__type(graph: PRODUCT)
  2095. {
  2096. NEEDS_RESPONSE
  2097. UNDER_REVIEW
  2098. CHARGE_REFUNDED
  2099. ACCEPTED
  2100. WON
  2101. LOST
  2102. }
  2103. enum DisputeType
  2104. @join__type(graph: CUSTOMER)
  2105. @join__type(graph: PRODUCT)
  2106. {
  2107. CHARGEBACK
  2108. INQUIRY
  2109. }
  2110. type Domain implements Node
  2111. @join__implements(graph: CUSTOMER, interface: "Node")
  2112. @join__implements(graph: PRODUCT, interface: "Node")
  2113. @join__type(graph: CUSTOMER)
  2114. @join__type(graph: PRODUCT)
  2115. {
  2116. host: String!
  2117. id: ID!
  2118. localization: DomainLocalization
  2119. marketWebPresence: MarketWebPresence
  2120. sslEnabled: Boolean!
  2121. url: URL!
  2122. }
  2123. type DomainLocalization
  2124. @join__type(graph: CUSTOMER)
  2125. @join__type(graph: PRODUCT)
  2126. {
  2127. alternateLocales: [String!]!
  2128. country: String
  2129. defaultLocale: String!
  2130. }
  2131. type DraftOrder implements CommentEventSubject & HasEvents & HasLocalizationExtensions & HasMetafields & LegacyInteroperability & Navigable & Node
  2132. @join__implements(graph: CUSTOMER, interface: "CommentEventSubject")
  2133. @join__implements(graph: CUSTOMER, interface: "HasEvents")
  2134. @join__implements(graph: CUSTOMER, interface: "HasLocalizationExtensions")
  2135. @join__implements(graph: CUSTOMER, interface: "HasMetafields")
  2136. @join__implements(graph: CUSTOMER, interface: "LegacyInteroperability")
  2137. @join__implements(graph: CUSTOMER, interface: "Navigable")
  2138. @join__implements(graph: CUSTOMER, interface: "Node")
  2139. @join__implements(graph: PRODUCT, interface: "CommentEventSubject")
  2140. @join__implements(graph: PRODUCT, interface: "HasEvents")
  2141. @join__implements(graph: PRODUCT, interface: "HasLocalizationExtensions")
  2142. @join__implements(graph: PRODUCT, interface: "HasMetafields")
  2143. @join__implements(graph: PRODUCT, interface: "LegacyInteroperability")
  2144. @join__implements(graph: PRODUCT, interface: "Navigable")
  2145. @join__implements(graph: PRODUCT, interface: "Node")
  2146. @join__type(graph: CUSTOMER)
  2147. @join__type(graph: PRODUCT)
  2148. {
  2149. appliedDiscount: DraftOrderAppliedDiscount
  2150. billingAddress: MailingAddress
  2151. billingAddressMatchesShippingAddress: Boolean!
  2152. completedAt: DateTime
  2153. createdAt: DateTime!
  2154. currencyCode: CurrencyCode!
  2155. customAttributes: [Attribute!]!
  2156. customer: Customer
  2157. defaultCursor: String!
  2158. email: String
  2159. events(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: EventSortKeys = ID, query: String): EventConnection!
  2160. hasTimelineComment: Boolean!
  2161. id: ID!
  2162. invoiceEmailTemplateSubject: String!
  2163. invoiceSentAt: DateTime
  2164. invoiceUrl: URL
  2165. legacyResourceId: UnsignedInt64!
  2166. lineItems(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): DraftOrderLineItemConnection!
  2167. lineItemsSubtotalPrice: MoneyBag!
  2168. localizationExtensions(countryCodes: [CountryCode!], purposes: [LocalizationExtensionPurpose!], first: Int, after: String, last: Int, before: String, reverse: Boolean = false): LocalizationExtensionConnection!
  2169. marketName: String!
  2170. marketRegionCountryCode: CountryCode!
  2171. metafield(namespace: String!, key: String!): Metafield
  2172. metafields(namespace: String, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): MetafieldConnection!
  2173. name: String!
  2174. note2: String
  2175. order: Order
  2176. paymentTerms: PaymentTerms
  2177. phone: String
  2178. presentmentCurrencyCode: CurrencyCode!
  2179. privateMetafield(namespace: String!, key: String!): PrivateMetafield
  2180. privateMetafields(namespace: String, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): PrivateMetafieldConnection!
  2181. purchasingEntity: PurchasingEntity
  2182. ready: Boolean!
  2183. reserveInventoryUntil: DateTime
  2184. shippingAddress: MailingAddress
  2185. shippingLine: ShippingLine
  2186. status: DraftOrderStatus!
  2187. subtotalPrice: Money!
  2188. subtotalPriceSet: MoneyBag!
  2189. tags: [String!]!
  2190. taxExempt: Boolean!
  2191. taxLines: [TaxLine!]!
  2192. taxesIncluded: Boolean!
  2193. totalDiscountsSet: MoneyBag!
  2194. totalLineItemsPriceSet: MoneyBag!
  2195. totalPrice: Money!
  2196. totalPriceSet: MoneyBag!
  2197. totalShippingPrice: Money!
  2198. totalShippingPriceSet: MoneyBag!
  2199. totalTax: Money!
  2200. totalTaxSet: MoneyBag!
  2201. totalWeight: UnsignedInt64!
  2202. updatedAt: DateTime!
  2203. visibleToCustomer: Boolean!
  2204. }
  2205. type DraftOrderAppliedDiscount
  2206. @join__type(graph: CUSTOMER)
  2207. @join__type(graph: PRODUCT)
  2208. {
  2209. amountSet: MoneyBag!
  2210. amountV2: MoneyV2!
  2211. description: String!
  2212. title: String
  2213. value: Float!
  2214. valueType: DraftOrderAppliedDiscountType!
  2215. }
  2216. enum DraftOrderAppliedDiscountType
  2217. @join__type(graph: CUSTOMER)
  2218. @join__type(graph: PRODUCT)
  2219. {
  2220. FIXED_AMOUNT
  2221. PERCENTAGE
  2222. }
  2223. type DraftOrderConnection
  2224. @join__type(graph: CUSTOMER)
  2225. @join__type(graph: PRODUCT)
  2226. {
  2227. edges: [DraftOrderEdge!]!
  2228. nodes: [DraftOrder!]!
  2229. pageInfo: PageInfo!
  2230. }
  2231. type DraftOrderEdge
  2232. @join__type(graph: CUSTOMER)
  2233. @join__type(graph: PRODUCT)
  2234. {
  2235. cursor: String!
  2236. node: DraftOrder!
  2237. }
  2238. type DraftOrderLineItem implements Node
  2239. @join__implements(graph: CUSTOMER, interface: "Node")
  2240. @join__implements(graph: PRODUCT, interface: "Node")
  2241. @join__type(graph: CUSTOMER)
  2242. @join__type(graph: PRODUCT)
  2243. {
  2244. appliedDiscount: DraftOrderAppliedDiscount
  2245. custom: Boolean!
  2246. customAttributes: [Attribute!]!
  2247. customAttributesV2: [TypedAttribute!]!
  2248. discountedTotal: Money!
  2249. discountedTotalSet: MoneyBag!
  2250. discountedUnitPrice: Money!
  2251. discountedUnitPriceSet: MoneyBag!
  2252. fulfillmentService: FulfillmentService
  2253. id: ID!
  2254. image: Image
  2255. isGiftCard: Boolean!
  2256. name: String!
  2257. originalTotal: Money!
  2258. originalTotalSet: MoneyBag!
  2259. originalUnitPrice: Money!
  2260. originalUnitPriceSet: MoneyBag!
  2261. product: Product
  2262. quantity: Int!
  2263. requiresShipping: Boolean!
  2264. sku: String
  2265. taxLines: [TaxLine!]!
  2266. taxable: Boolean!
  2267. title: String!
  2268. totalDiscount: Money!
  2269. totalDiscountSet: MoneyBag!
  2270. variant: ProductVariant
  2271. variantTitle: String
  2272. vendor: String
  2273. weight: Weight
  2274. }
  2275. type DraftOrderLineItemConnection
  2276. @join__type(graph: CUSTOMER)
  2277. @join__type(graph: PRODUCT)
  2278. {
  2279. edges: [DraftOrderLineItemEdge!]!
  2280. nodes: [DraftOrderLineItem!]!
  2281. pageInfo: PageInfo!
  2282. }
  2283. type DraftOrderLineItemEdge
  2284. @join__type(graph: CUSTOMER)
  2285. @join__type(graph: PRODUCT)
  2286. {
  2287. cursor: String!
  2288. node: DraftOrderLineItem!
  2289. }
  2290. enum DraftOrderSortKeys
  2291. @join__type(graph: CUSTOMER)
  2292. @join__type(graph: PRODUCT)
  2293. {
  2294. NUMBER
  2295. UPDATED_AT
  2296. STATUS
  2297. TOTAL_PRICE
  2298. CUSTOMER_NAME
  2299. ID
  2300. RELEVANCE
  2301. }
  2302. enum DraftOrderStatus
  2303. @join__type(graph: CUSTOMER)
  2304. @join__type(graph: PRODUCT)
  2305. {
  2306. COMPLETED
  2307. INVOICE_SENT
  2308. OPEN
  2309. }
  2310. type Duty implements Node
  2311. @join__implements(graph: CUSTOMER, interface: "Node")
  2312. @join__implements(graph: PRODUCT, interface: "Node")
  2313. @join__type(graph: CUSTOMER)
  2314. @join__type(graph: PRODUCT)
  2315. {
  2316. countryCodeOfOrigin: CountryCode
  2317. harmonizedSystemCode: String
  2318. id: ID!
  2319. price: MoneyBag!
  2320. taxLines: [TaxLine!]!
  2321. }
  2322. type EditableProperty
  2323. @join__type(graph: CUSTOMER)
  2324. @join__type(graph: PRODUCT)
  2325. {
  2326. locked: Boolean!
  2327. reason: FormattedString
  2328. }
  2329. interface Event
  2330. @join__type(graph: CUSTOMER)
  2331. @join__type(graph: PRODUCT)
  2332. {
  2333. appTitle: String
  2334. attributeToApp: Boolean!
  2335. attributeToUser: Boolean!
  2336. createdAt: DateTime!
  2337. criticalAlert: Boolean!
  2338. id: ID!
  2339. message: FormattedString!
  2340. }
  2341. type EventConnection
  2342. @join__type(graph: CUSTOMER)
  2343. @join__type(graph: PRODUCT)
  2344. {
  2345. edges: [EventEdge!]!
  2346. nodes: [Event!]!
  2347. pageInfo: PageInfo!
  2348. }
  2349. type EventEdge
  2350. @join__type(graph: CUSTOMER)
  2351. @join__type(graph: PRODUCT)
  2352. {
  2353. cursor: String!
  2354. node: Event!
  2355. }
  2356. enum EventSortKeys
  2357. @join__type(graph: CUSTOMER)
  2358. @join__type(graph: PRODUCT)
  2359. {
  2360. CREATED_AT
  2361. ID
  2362. RELEVANCE
  2363. }
  2364. type FailedRequirement
  2365. @join__type(graph: CUSTOMER)
  2366. @join__type(graph: PRODUCT)
  2367. {
  2368. action: NavigationItem
  2369. message: String!
  2370. }
  2371. interface File
  2372. @join__type(graph: CUSTOMER)
  2373. @join__type(graph: PRODUCT)
  2374. {
  2375. alt: String
  2376. createdAt: DateTime!
  2377. fileErrors: [FileError!]!
  2378. fileStatus: FileStatus!
  2379. preview: MediaPreviewImage
  2380. }
  2381. type FileError
  2382. @join__type(graph: CUSTOMER)
  2383. @join__type(graph: PRODUCT)
  2384. {
  2385. code: FileErrorCode!
  2386. details: String
  2387. message: String!
  2388. }
  2389. enum FileErrorCode
  2390. @join__type(graph: CUSTOMER)
  2391. @join__type(graph: PRODUCT)
  2392. {
  2393. UNKNOWN
  2394. INVALID_SIGNED_URL
  2395. IMAGE_DOWNLOAD_FAILURE
  2396. IMAGE_PROCESSING_FAILURE
  2397. MEDIA_TIMEOUT_ERROR
  2398. EXTERNAL_VIDEO_NOT_FOUND
  2399. EXTERNAL_VIDEO_UNLISTED
  2400. EXTERNAL_VIDEO_INVALID_ASPECT_RATIO
  2401. EXTERNAL_VIDEO_EMBED_DISABLED
  2402. EXTERNAL_VIDEO_EMBED_NOT_FOUND_OR_TRANSCODING
  2403. GENERIC_FILE_DOWNLOAD_FAILURE
  2404. GENERIC_FILE_INVALID_SIZE
  2405. VIDEO_METADATA_READ_ERROR
  2406. VIDEO_INVALID_FILETYPE_ERROR
  2407. VIDEO_MIN_WIDTH_ERROR
  2408. VIDEO_MAX_WIDTH_ERROR
  2409. VIDEO_MIN_HEIGHT_ERROR
  2410. VIDEO_MAX_HEIGHT_ERROR
  2411. VIDEO_MIN_DURATION_ERROR
  2412. VIDEO_MAX_DURATION_ERROR
  2413. VIDEO_VALIDATION_ERROR
  2414. MODEL3D_VALIDATION_ERROR
  2415. MODEL3D_THUMBNAIL_GENERATION_ERROR
  2416. MODEL3D_GLB_TO_USDZ_CONVERSION_ERROR
  2417. MODEL3D_GLB_OUTPUT_CREATION_ERROR
  2418. MODEL3D_PROCESSING_FAILURE
  2419. UNSUPPORTED_IMAGE_FILE_TYPE
  2420. INVALID_IMAGE_FILE_SIZE
  2421. INVALID_IMAGE_ASPECT_RATIO
  2422. INVALID_IMAGE_RESOLUTION
  2423. FILE_STORAGE_LIMIT_EXCEEDED
  2424. }
  2425. enum FileStatus
  2426. @join__type(graph: CUSTOMER)
  2427. @join__type(graph: PRODUCT)
  2428. {
  2429. UPLOADED
  2430. PROCESSING
  2431. READY
  2432. FAILED
  2433. }
  2434. type FilterOption
  2435. @join__type(graph: CUSTOMER)
  2436. @join__type(graph: PRODUCT)
  2437. {
  2438. label: String!
  2439. value: String!
  2440. }
  2441. scalar FormattedString
  2442. @join__type(graph: CUSTOMER)
  2443. @join__type(graph: PRODUCT)
  2444. type Fulfillment implements LegacyInteroperability & Node
  2445. @join__implements(graph: CUSTOMER, interface: "LegacyInteroperability")
  2446. @join__implements(graph: CUSTOMER, interface: "Node")
  2447. @join__implements(graph: PRODUCT, interface: "LegacyInteroperability")
  2448. @join__implements(graph: PRODUCT, interface: "Node")
  2449. @join__type(graph: CUSTOMER)
  2450. @join__type(graph: PRODUCT)
  2451. {
  2452. createdAt: DateTime!
  2453. deliveredAt: DateTime
  2454. displayStatus: FulfillmentDisplayStatus
  2455. estimatedDeliveryAt: DateTime
  2456. events(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: FulfillmentEventSortKeys = HAPPENED_AT): FulfillmentEventConnection!
  2457. fulfillmentLineItems(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): FulfillmentLineItemConnection!
  2458. fulfillmentOrders(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): FulfillmentOrderConnection!
  2459. id: ID!
  2460. inTransitAt: DateTime
  2461. legacyResourceId: UnsignedInt64!
  2462. location: Location
  2463. name: String!
  2464. order: Order!
  2465. originAddress: FulfillmentOriginAddress
  2466. requiresShipping: Boolean!
  2467. service: FulfillmentService
  2468. status: FulfillmentStatus!
  2469. totalQuantity: Int!
  2470. trackingInfo(first: Int): [FulfillmentTrackingInfo!]!
  2471. updatedAt: DateTime!
  2472. }
  2473. type FulfillmentConnection
  2474. @join__type(graph: CUSTOMER)
  2475. @join__type(graph: PRODUCT)
  2476. {
  2477. edges: [FulfillmentEdge!]!
  2478. nodes: [Fulfillment!]!
  2479. pageInfo: PageInfo!
  2480. }
  2481. enum FulfillmentDisplayStatus
  2482. @join__type(graph: CUSTOMER)
  2483. @join__type(graph: PRODUCT)
  2484. {
  2485. ATTEMPTED_DELIVERY
  2486. CANCELED
  2487. CONFIRMED
  2488. DELIVERED
  2489. FAILURE
  2490. FULFILLED
  2491. IN_TRANSIT
  2492. LABEL_PRINTED
  2493. LABEL_PURCHASED
  2494. LABEL_VOIDED
  2495. MARKED_AS_FULFILLED
  2496. NOT_DELIVERED
  2497. OUT_FOR_DELIVERY
  2498. READY_FOR_PICKUP
  2499. PICKED_UP
  2500. SUBMITTED
  2501. }
  2502. type FulfillmentEdge
  2503. @join__type(graph: CUSTOMER)
  2504. @join__type(graph: PRODUCT)
  2505. {
  2506. cursor: String!
  2507. node: Fulfillment!
  2508. }
  2509. type FulfillmentEvent implements Node
  2510. @join__implements(graph: CUSTOMER, interface: "Node")
  2511. @join__implements(graph: PRODUCT, interface: "Node")
  2512. @join__type(graph: CUSTOMER)
  2513. @join__type(graph: PRODUCT)
  2514. {
  2515. happenedAt: DateTime!
  2516. id: ID!
  2517. status: FulfillmentEventStatus!
  2518. }
  2519. type FulfillmentEventConnection
  2520. @join__type(graph: CUSTOMER)
  2521. @join__type(graph: PRODUCT)
  2522. {
  2523. edges: [FulfillmentEventEdge!]!
  2524. nodes: [FulfillmentEvent!]!
  2525. pageInfo: PageInfo!
  2526. }
  2527. type FulfillmentEventEdge
  2528. @join__type(graph: CUSTOMER)
  2529. @join__type(graph: PRODUCT)
  2530. {
  2531. cursor: String!
  2532. node: FulfillmentEvent!
  2533. }
  2534. enum FulfillmentEventSortKeys
  2535. @join__type(graph: CUSTOMER)
  2536. @join__type(graph: PRODUCT)
  2537. {
  2538. HAPPENED_AT
  2539. ID
  2540. RELEVANCE
  2541. }
  2542. enum FulfillmentEventStatus
  2543. @join__type(graph: CUSTOMER)
  2544. @join__type(graph: PRODUCT)
  2545. {
  2546. LABEL_PURCHASED
  2547. LABEL_PRINTED
  2548. READY_FOR_PICKUP
  2549. CONFIRMED
  2550. IN_TRANSIT
  2551. OUT_FOR_DELIVERY
  2552. ATTEMPTED_DELIVERY
  2553. DELIVERED
  2554. FAILURE
  2555. }
  2556. type FulfillmentHold
  2557. @join__type(graph: CUSTOMER)
  2558. @join__type(graph: PRODUCT)
  2559. {
  2560. reason: FulfillmentHoldReason!
  2561. reasonNotes: String
  2562. }
  2563. enum FulfillmentHoldReason
  2564. @join__type(graph: CUSTOMER)
  2565. @join__type(graph: PRODUCT)
  2566. {
  2567. AWAITING_PAYMENT
  2568. HIGH_RISK_OF_FRAUD
  2569. INCORRECT_ADDRESS
  2570. INVENTORY_OUT_OF_STOCK
  2571. UNKNOWN_DELIVERY_DATE
  2572. OTHER
  2573. }
  2574. type FulfillmentLineItem implements Node
  2575. @join__implements(graph: CUSTOMER, interface: "Node")
  2576. @join__implements(graph: PRODUCT, interface: "Node")
  2577. @join__type(graph: CUSTOMER)
  2578. @join__type(graph: PRODUCT)
  2579. {
  2580. discountedTotalSet: MoneyBag!
  2581. id: ID!
  2582. lineItem: LineItem!
  2583. originalTotalSet: MoneyBag!
  2584. quantity: Int
  2585. }
  2586. type FulfillmentLineItemConnection
  2587. @join__type(graph: CUSTOMER)
  2588. @join__type(graph: PRODUCT)
  2589. {
  2590. edges: [FulfillmentLineItemEdge!]!
  2591. nodes: [FulfillmentLineItem!]!
  2592. pageInfo: PageInfo!
  2593. }
  2594. type FulfillmentLineItemEdge
  2595. @join__type(graph: CUSTOMER)
  2596. @join__type(graph: PRODUCT)
  2597. {
  2598. cursor: String!
  2599. node: FulfillmentLineItem!
  2600. }
  2601. type FulfillmentOrder implements Node
  2602. @join__implements(graph: CUSTOMER, interface: "Node")
  2603. @join__implements(graph: PRODUCT, interface: "Node")
  2604. @join__type(graph: CUSTOMER)
  2605. @join__type(graph: PRODUCT)
  2606. {
  2607. assignedLocation: FulfillmentOrderAssignedLocation!
  2608. deliveryMethod: DeliveryMethod
  2609. destination: FulfillmentOrderDestination
  2610. fulfillAt: DateTime
  2611. fulfillBy: DateTime
  2612. fulfillmentHolds: [FulfillmentHold!]!
  2613. fulfillments(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): FulfillmentConnection!
  2614. id: ID!
  2615. internationalDuties: FulfillmentOrderInternationalDuties
  2616. lineItems(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): FulfillmentOrderLineItemConnection!
  2617. locationsForMove(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): FulfillmentOrderLocationForMoveConnection!
  2618. merchantRequests(kind: FulfillmentOrderMerchantRequestKind, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): FulfillmentOrderMerchantRequestConnection!
  2619. order: Order!
  2620. requestStatus: FulfillmentOrderRequestStatus!
  2621. status: FulfillmentOrderStatus!
  2622. supportedActions: [FulfillmentOrderSupportedAction!]!
  2623. }
  2624. enum FulfillmentOrderAction
  2625. @join__type(graph: CUSTOMER)
  2626. @join__type(graph: PRODUCT)
  2627. {
  2628. CREATE_FULFILLMENT
  2629. REQUEST_FULFILLMENT
  2630. CANCEL_FULFILLMENT_ORDER
  2631. MOVE
  2632. REQUEST_CANCELLATION
  2633. MARK_AS_OPEN
  2634. RELEASE_HOLD
  2635. HOLD
  2636. EXTERNAL
  2637. }
  2638. type FulfillmentOrderAssignedLocation
  2639. @join__type(graph: CUSTOMER)
  2640. @join__type(graph: PRODUCT)
  2641. {
  2642. address1: String
  2643. address2: String
  2644. city: String
  2645. countryCode: CountryCode!
  2646. location: Location
  2647. name: String!
  2648. phone: String
  2649. province: String
  2650. zip: String
  2651. }
  2652. enum FulfillmentOrderAssignmentStatus
  2653. @join__type(graph: CUSTOMER)
  2654. @join__type(graph: PRODUCT)
  2655. {
  2656. CANCELLATION_REQUESTED
  2657. FULFILLMENT_REQUESTED
  2658. FULFILLMENT_ACCEPTED
  2659. }
  2660. type FulfillmentOrderConnection
  2661. @join__type(graph: CUSTOMER)
  2662. @join__type(graph: PRODUCT)
  2663. {
  2664. edges: [FulfillmentOrderEdge!]!
  2665. nodes: [FulfillmentOrder!]!
  2666. pageInfo: PageInfo!
  2667. }
  2668. type FulfillmentOrderDestination implements Node
  2669. @join__implements(graph: CUSTOMER, interface: "Node")
  2670. @join__implements(graph: PRODUCT, interface: "Node")
  2671. @join__type(graph: CUSTOMER)
  2672. @join__type(graph: PRODUCT)
  2673. {
  2674. address1: String
  2675. address2: String
  2676. city: String
  2677. company: String
  2678. countryCode: CountryCode
  2679. email: String
  2680. firstName: String
  2681. id: ID!
  2682. lastName: String
  2683. phone: String
  2684. province: String
  2685. zip: String
  2686. }
  2687. type FulfillmentOrderEdge
  2688. @join__type(graph: CUSTOMER)
  2689. @join__type(graph: PRODUCT)
  2690. {
  2691. cursor: String!
  2692. node: FulfillmentOrder!
  2693. }
  2694. type FulfillmentOrderInternationalDuties
  2695. @join__type(graph: CUSTOMER)
  2696. @join__type(graph: PRODUCT)
  2697. {
  2698. incoterm: String!
  2699. }
  2700. type FulfillmentOrderLineItem implements Node
  2701. @join__implements(graph: CUSTOMER, interface: "Node")
  2702. @join__implements(graph: PRODUCT, interface: "Node")
  2703. @join__type(graph: CUSTOMER)
  2704. @join__type(graph: PRODUCT)
  2705. {
  2706. id: ID!
  2707. lineItem: LineItem!
  2708. remainingQuantity: Int!
  2709. totalQuantity: Int!
  2710. warnings: [FulfillmentOrderLineItemWarning!]!
  2711. }
  2712. type FulfillmentOrderLineItemConnection
  2713. @join__type(graph: CUSTOMER)
  2714. @join__type(graph: PRODUCT)
  2715. {
  2716. edges: [FulfillmentOrderLineItemEdge!]!
  2717. nodes: [FulfillmentOrderLineItem!]!
  2718. pageInfo: PageInfo!
  2719. }
  2720. type FulfillmentOrderLineItemEdge
  2721. @join__type(graph: CUSTOMER)
  2722. @join__type(graph: PRODUCT)
  2723. {
  2724. cursor: String!
  2725. node: FulfillmentOrderLineItem!
  2726. }
  2727. type FulfillmentOrderLineItemWarning
  2728. @join__type(graph: CUSTOMER)
  2729. @join__type(graph: PRODUCT)
  2730. {
  2731. description: String
  2732. title: String
  2733. }
  2734. type FulfillmentOrderLocationForMove
  2735. @join__type(graph: CUSTOMER)
  2736. @join__type(graph: PRODUCT)
  2737. {
  2738. location: Location!
  2739. message: String
  2740. movable: Boolean!
  2741. }
  2742. type FulfillmentOrderLocationForMoveConnection
  2743. @join__type(graph: CUSTOMER)
  2744. @join__type(graph: PRODUCT)
  2745. {
  2746. edges: [FulfillmentOrderLocationForMoveEdge!]!
  2747. nodes: [FulfillmentOrderLocationForMove!]!
  2748. pageInfo: PageInfo!
  2749. }
  2750. type FulfillmentOrderLocationForMoveEdge
  2751. @join__type(graph: CUSTOMER)
  2752. @join__type(graph: PRODUCT)
  2753. {
  2754. cursor: String!
  2755. node: FulfillmentOrderLocationForMove!
  2756. }
  2757. type FulfillmentOrderMerchantRequest implements Node
  2758. @join__implements(graph: CUSTOMER, interface: "Node")
  2759. @join__implements(graph: PRODUCT, interface: "Node")
  2760. @join__type(graph: CUSTOMER)
  2761. @join__type(graph: PRODUCT)
  2762. {
  2763. id: ID!
  2764. kind: FulfillmentOrderMerchantRequestKind!
  2765. message: String
  2766. requestOptions: JSON
  2767. responseData: JSON
  2768. sentAt: DateTime!
  2769. }
  2770. type FulfillmentOrderMerchantRequestConnection
  2771. @join__type(graph: CUSTOMER)
  2772. @join__type(graph: PRODUCT)
  2773. {
  2774. edges: [FulfillmentOrderMerchantRequestEdge!]!
  2775. nodes: [FulfillmentOrderMerchantRequest!]!
  2776. pageInfo: PageInfo!
  2777. }
  2778. type FulfillmentOrderMerchantRequestEdge
  2779. @join__type(graph: CUSTOMER)
  2780. @join__type(graph: PRODUCT)
  2781. {
  2782. cursor: String!
  2783. node: FulfillmentOrderMerchantRequest!
  2784. }
  2785. enum FulfillmentOrderMerchantRequestKind
  2786. @join__type(graph: CUSTOMER)
  2787. @join__type(graph: PRODUCT)
  2788. {
  2789. FULFILLMENT_REQUEST
  2790. CANCELLATION_REQUEST
  2791. }
  2792. enum FulfillmentOrderRequestStatus
  2793. @join__type(graph: CUSTOMER)
  2794. @join__type(graph: PRODUCT)
  2795. {
  2796. UNSUBMITTED
  2797. SUBMITTED
  2798. ACCEPTED
  2799. REJECTED
  2800. CANCELLATION_REQUESTED
  2801. CANCELLATION_ACCEPTED
  2802. CANCELLATION_REJECTED
  2803. CLOSED
  2804. }
  2805. enum FulfillmentOrderSortKeys
  2806. @join__type(graph: CUSTOMER)
  2807. @join__type(graph: PRODUCT)
  2808. {
  2809. ID
  2810. RELEVANCE
  2811. }
  2812. enum FulfillmentOrderStatus
  2813. @join__type(graph: CUSTOMER)
  2814. @join__type(graph: PRODUCT)
  2815. {
  2816. OPEN
  2817. IN_PROGRESS
  2818. CANCELLED
  2819. INCOMPLETE
  2820. CLOSED
  2821. SCHEDULED
  2822. ON_HOLD
  2823. }
  2824. type FulfillmentOrderSupportedAction
  2825. @join__type(graph: CUSTOMER)
  2826. @join__type(graph: PRODUCT)
  2827. {
  2828. action: FulfillmentOrderAction!
  2829. externalUrl: URL
  2830. }
  2831. type FulfillmentOriginAddress
  2832. @join__type(graph: CUSTOMER)
  2833. @join__type(graph: PRODUCT)
  2834. {
  2835. address1: String
  2836. address2: String
  2837. city: String
  2838. countryCode: String!
  2839. provinceCode: String
  2840. zip: String
  2841. }
  2842. type FulfillmentService
  2843. @join__type(graph: CUSTOMER)
  2844. @join__type(graph: PRODUCT)
  2845. {
  2846. callbackUrl: URL
  2847. fulfillmentOrdersOptIn: Boolean!
  2848. handle: String!
  2849. id: ID!
  2850. inventoryManagement: Boolean!
  2851. location: Location
  2852. permitsSkuSharing: Boolean!
  2853. productBased: Boolean!
  2854. serviceName: String!
  2855. type: FulfillmentServiceType!
  2856. }
  2857. enum FulfillmentServiceType
  2858. @join__type(graph: CUSTOMER)
  2859. @join__type(graph: PRODUCT)
  2860. {
  2861. GIFT_CARD
  2862. MANUAL
  2863. THIRD_PARTY
  2864. }
  2865. enum FulfillmentStatus
  2866. @join__type(graph: CUSTOMER)
  2867. @join__type(graph: PRODUCT)
  2868. {
  2869. SUCCESS
  2870. CANCELLED
  2871. ERROR
  2872. FAILURE
  2873. }
  2874. type FulfillmentTrackingInfo
  2875. @join__type(graph: CUSTOMER)
  2876. @join__type(graph: PRODUCT)
  2877. {
  2878. company: String
  2879. number: String
  2880. url: URL
  2881. }
  2882. type GenericFile implements File & Node
  2883. @join__implements(graph: CUSTOMER, interface: "File")
  2884. @join__implements(graph: CUSTOMER, interface: "Node")
  2885. @join__implements(graph: PRODUCT, interface: "File")
  2886. @join__implements(graph: PRODUCT, interface: "Node")
  2887. @join__type(graph: CUSTOMER)
  2888. @join__type(graph: PRODUCT)
  2889. {
  2890. alt: String
  2891. createdAt: DateTime!
  2892. fileErrors: [FileError!]!
  2893. fileStatus: FileStatus!
  2894. id: ID!
  2895. mimeType: String
  2896. originalFileSize: Int
  2897. preview: MediaPreviewImage
  2898. url: URL
  2899. }
  2900. interface HasEvents
  2901. @join__type(graph: CUSTOMER)
  2902. @join__type(graph: PRODUCT)
  2903. {
  2904. events(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: EventSortKeys = ID, query: String): EventConnection!
  2905. }
  2906. interface HasLocalizationExtensions
  2907. @join__type(graph: CUSTOMER)
  2908. @join__type(graph: PRODUCT)
  2909. {
  2910. localizationExtensions(countryCodes: [CountryCode!], purposes: [LocalizationExtensionPurpose!], first: Int, after: String, last: Int, before: String, reverse: Boolean = false): LocalizationExtensionConnection!
  2911. }
  2912. interface HasMetafieldDefinitions
  2913. @join__type(graph: CUSTOMER)
  2914. @join__type(graph: PRODUCT)
  2915. {
  2916. metafieldDefinitions(namespace: String, pinnedStatus: MetafieldDefinitionPinnedStatus = ANY, first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: MetafieldDefinitionSortKeys = ID, query: String): MetafieldDefinitionConnection!
  2917. }
  2918. interface HasMetafields
  2919. @join__type(graph: CUSTOMER)
  2920. @join__type(graph: PRODUCT)
  2921. {
  2922. metafield(namespace: String!, key: String!): Metafield
  2923. metafields(namespace: String, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): MetafieldConnection!
  2924. privateMetafield(namespace: String!, key: String!): PrivateMetafield
  2925. privateMetafields(namespace: String, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): PrivateMetafieldConnection!
  2926. }
  2927. interface HasPublishedTranslations
  2928. @join__type(graph: CUSTOMER)
  2929. @join__type(graph: PRODUCT)
  2930. {
  2931. translations(locale: String!, marketId: ID): [PublishedTranslation!]!
  2932. }
  2933. scalar HTML
  2934. @join__type(graph: CUSTOMER)
  2935. @join__type(graph: PRODUCT)
  2936. type Image implements HasMetafields
  2937. @join__implements(graph: CUSTOMER, interface: "HasMetafields")
  2938. @join__implements(graph: PRODUCT, interface: "HasMetafields")
  2939. @join__type(graph: CUSTOMER)
  2940. @join__type(graph: PRODUCT)
  2941. {
  2942. altText: String
  2943. height: Int
  2944. id: ID
  2945. metafield(namespace: String!, key: String!): Metafield
  2946. metafields(namespace: String, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): MetafieldConnection!
  2947. privateMetafield(namespace: String!, key: String!): PrivateMetafield
  2948. privateMetafields(namespace: String, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): PrivateMetafieldConnection!
  2949. url(transform: ImageTransformInput): URL!
  2950. width: Int
  2951. }
  2952. type ImageConnection
  2953. @join__type(graph: CUSTOMER)
  2954. @join__type(graph: PRODUCT)
  2955. {
  2956. edges: [ImageEdge!]!
  2957. nodes: [Image!]!
  2958. pageInfo: PageInfo!
  2959. }
  2960. enum ImageContentType
  2961. @join__type(graph: CUSTOMER)
  2962. @join__type(graph: PRODUCT)
  2963. {
  2964. PNG
  2965. JPG
  2966. WEBP
  2967. }
  2968. type ImageEdge
  2969. @join__type(graph: CUSTOMER)
  2970. @join__type(graph: PRODUCT)
  2971. {
  2972. cursor: String!
  2973. node: Image!
  2974. }
  2975. input ImageInput
  2976. @join__type(graph: PRODUCT)
  2977. {
  2978. id: ID
  2979. altText: String
  2980. src: String
  2981. }
  2982. input ImageTransformInput
  2983. @join__type(graph: CUSTOMER)
  2984. @join__type(graph: PRODUCT)
  2985. {
  2986. crop: CropRegion
  2987. maxWidth: Int
  2988. maxHeight: Int
  2989. scale: Int = 1
  2990. preferredContentType: ImageContentType
  2991. }
  2992. type InventoryItem implements LegacyInteroperability & Node
  2993. @join__implements(graph: CUSTOMER, interface: "LegacyInteroperability")
  2994. @join__implements(graph: CUSTOMER, interface: "Node")
  2995. @join__implements(graph: PRODUCT, interface: "LegacyInteroperability")
  2996. @join__implements(graph: PRODUCT, interface: "Node")
  2997. @join__type(graph: CUSTOMER)
  2998. @join__type(graph: PRODUCT)
  2999. {
  3000. countryCodeOfOrigin: CountryCode
  3001. countryHarmonizedSystemCodes(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): CountryHarmonizedSystemCodeConnection!
  3002. createdAt: DateTime!
  3003. duplicateSkuCount: Int!
  3004. harmonizedSystemCode: String
  3005. id: ID!
  3006. inventoryHistoryUrl: URL
  3007. inventoryLevel(locationId: ID!): InventoryLevel
  3008. inventoryLevels(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, query: String): InventoryLevelConnection!
  3009. legacyResourceId: UnsignedInt64!
  3010. locationsCount: Int!
  3011. provinceCodeOfOrigin: String
  3012. requiresShipping: Boolean!
  3013. sku: String
  3014. tracked: Boolean!
  3015. trackedEditable: EditableProperty!
  3016. unitCost: MoneyV2
  3017. updatedAt: DateTime!
  3018. variant: ProductVariant!
  3019. }
  3020. input InventoryItemInput
  3021. @join__type(graph: PRODUCT)
  3022. {
  3023. cost: Decimal
  3024. tracked: Boolean
  3025. }
  3026. type InventoryLevel implements Node
  3027. @join__implements(graph: CUSTOMER, interface: "Node")
  3028. @join__implements(graph: PRODUCT, interface: "Node")
  3029. @join__type(graph: CUSTOMER)
  3030. @join__type(graph: PRODUCT)
  3031. {
  3032. available: Int!
  3033. canDeactivate: Boolean!
  3034. createdAt: DateTime!
  3035. deactivationAlert: String
  3036. deactivationAlertHtml: FormattedString
  3037. id: ID!
  3038. incoming: Int!
  3039. item: InventoryItem!
  3040. location: Location!
  3041. updatedAt: DateTime!
  3042. }
  3043. type InventoryLevelConnection
  3044. @join__type(graph: CUSTOMER)
  3045. @join__type(graph: PRODUCT)
  3046. {
  3047. edges: [InventoryLevelEdge!]!
  3048. nodes: [InventoryLevel!]!
  3049. pageInfo: PageInfo!
  3050. }
  3051. type InventoryLevelEdge
  3052. @join__type(graph: CUSTOMER)
  3053. @join__type(graph: PRODUCT)
  3054. {
  3055. cursor: String!
  3056. node: InventoryLevel!
  3057. }
  3058. input InventoryLevelInput
  3059. @join__type(graph: PRODUCT)
  3060. {
  3061. availableQuantity: Int!
  3062. locationId: ID!
  3063. }
  3064. type Job
  3065. @join__type(graph: CUSTOMER)
  3066. @join__type(graph: PRODUCT)
  3067. {
  3068. done: Boolean!
  3069. id: ID!
  3070. }
  3071. scalar join__FieldSet
  3072. enum join__Graph {
  3073. CUSTOMER @join__graph(name: "customer", url: "https://customer.admin.gshopper.com")
  3074. PRODUCT @join__graph(name: "product", url: "https://product.admin.gshopper.com")
  3075. }
  3076. scalar JSON
  3077. @join__type(graph: CUSTOMER)
  3078. @join__type(graph: PRODUCT)
  3079. enum LanguageCode
  3080. @join__type(graph: CUSTOMER)
  3081. @join__type(graph: PRODUCT)
  3082. {
  3083. AF
  3084. AK
  3085. AM
  3086. AR
  3087. AS
  3088. AZ
  3089. BE
  3090. BG
  3091. BM
  3092. BN
  3093. BO
  3094. BR
  3095. BS
  3096. CA
  3097. CE
  3098. CS
  3099. CU
  3100. CY
  3101. DA
  3102. DE
  3103. DZ
  3104. EE
  3105. EL
  3106. EN
  3107. EO
  3108. ES
  3109. ET
  3110. EU
  3111. FA
  3112. FF
  3113. FI
  3114. FO
  3115. FR
  3116. FY
  3117. GA
  3118. GD
  3119. GL
  3120. GU
  3121. GV
  3122. HA
  3123. HE
  3124. HI
  3125. HR
  3126. HU
  3127. HY
  3128. IA
  3129. ID
  3130. IG
  3131. II
  3132. IS
  3133. IT
  3134. JA
  3135. JV
  3136. KA
  3137. KI
  3138. KK
  3139. KL
  3140. KM
  3141. KN
  3142. KO
  3143. KS
  3144. KU
  3145. KW
  3146. KY
  3147. LB
  3148. LG
  3149. LN
  3150. LO
  3151. LT
  3152. LU
  3153. LV
  3154. MG
  3155. MI
  3156. MK
  3157. ML
  3158. MN
  3159. MR
  3160. MS
  3161. MT
  3162. MY
  3163. NB
  3164. ND
  3165. NE
  3166. NL
  3167. NN
  3168. NO
  3169. OM
  3170. OR
  3171. OS
  3172. PA
  3173. PL
  3174. PS
  3175. PT_BR
  3176. PT_PT
  3177. QU
  3178. RM
  3179. RN
  3180. RO
  3181. RU
  3182. RW
  3183. SD
  3184. SE
  3185. SG
  3186. SI
  3187. SK
  3188. SL
  3189. SN
  3190. SO
  3191. SQ
  3192. SR
  3193. SU
  3194. SV
  3195. SW
  3196. TA
  3197. TE
  3198. TG
  3199. TH
  3200. TI
  3201. TK
  3202. TO
  3203. TR
  3204. TT
  3205. UG
  3206. UK
  3207. UR
  3208. UZ
  3209. VI
  3210. WO
  3211. XH
  3212. YI
  3213. YO
  3214. ZH_CN
  3215. ZH_TW
  3216. ZU
  3217. ZH
  3218. PT
  3219. VO
  3220. }
  3221. interface LegacyInteroperability
  3222. @join__type(graph: CUSTOMER)
  3223. @join__type(graph: PRODUCT)
  3224. {
  3225. legacyResourceId: UnsignedInt64!
  3226. }
  3227. type LimitedPendingOrderCount
  3228. @join__type(graph: CUSTOMER)
  3229. @join__type(graph: PRODUCT)
  3230. {
  3231. atMax: Boolean!
  3232. count: Int!
  3233. }
  3234. type LineItem implements Node
  3235. @join__implements(graph: CUSTOMER, interface: "Node")
  3236. @join__implements(graph: PRODUCT, interface: "Node")
  3237. @join__type(graph: CUSTOMER)
  3238. @join__type(graph: PRODUCT)
  3239. {
  3240. contract: SubscriptionContract
  3241. currentQuantity: Int!
  3242. customAttributes: [Attribute!]!
  3243. discountAllocations: [DiscountAllocation!]!
  3244. discountedTotalSet: MoneyBag!
  3245. discountedUnitPriceSet: MoneyBag!
  3246. duties: [Duty!]!
  3247. id: ID!
  3248. image: Image
  3249. merchantEditable: Boolean!
  3250. name: String!
  3251. nonFulfillableQuantity: Int!
  3252. originalTotalSet: MoneyBag!
  3253. originalUnitPriceSet: MoneyBag!
  3254. product: Product
  3255. quantity: Int!
  3256. refundableQuantity: Int!
  3257. requiresShipping: Boolean!
  3258. restockable: Boolean!
  3259. sellingPlan: LineItemSellingPlan
  3260. sku: String
  3261. staffMember: StaffMember
  3262. taxLines(first: Int): [TaxLine!]!
  3263. taxable: Boolean!
  3264. title: String!
  3265. totalDiscountSet: MoneyBag!
  3266. unfulfilledDiscountedTotalSet: MoneyBag!
  3267. unfulfilledOriginalTotalSet: MoneyBag!
  3268. unfulfilledQuantity: Int!
  3269. variant: ProductVariant
  3270. variantTitle: String
  3271. vendor: String
  3272. }
  3273. type LineItemConnection
  3274. @join__type(graph: CUSTOMER)
  3275. @join__type(graph: PRODUCT)
  3276. {
  3277. edges: [LineItemEdge!]!
  3278. nodes: [LineItem!]!
  3279. pageInfo: PageInfo!
  3280. }
  3281. type LineItemEdge
  3282. @join__type(graph: CUSTOMER)
  3283. @join__type(graph: PRODUCT)
  3284. {
  3285. cursor: String!
  3286. node: LineItem!
  3287. }
  3288. type LineItemSellingPlan
  3289. @join__type(graph: CUSTOMER)
  3290. @join__type(graph: PRODUCT)
  3291. {
  3292. name: String!
  3293. sellingPlanId: ID
  3294. }
  3295. type Link implements HasPublishedTranslations
  3296. @join__implements(graph: CUSTOMER, interface: "HasPublishedTranslations")
  3297. @join__implements(graph: PRODUCT, interface: "HasPublishedTranslations")
  3298. @join__type(graph: CUSTOMER)
  3299. @join__type(graph: PRODUCT)
  3300. {
  3301. label: String!
  3302. translations(locale: String!, marketId: ID): [PublishedTranslation!]!
  3303. url: URL!
  3304. }
  3305. scalar link__Import
  3306. enum link__Purpose {
  3307. """
  3308. `SECURITY` features provide metadata necessary to securely resolve fields.
  3309. """
  3310. SECURITY
  3311. """
  3312. `EXECUTION` features provide metadata necessary for operation execution.
  3313. """
  3314. EXECUTION
  3315. }
  3316. type LocalizationExtension
  3317. @join__type(graph: CUSTOMER)
  3318. @join__type(graph: PRODUCT)
  3319. {
  3320. countryCode: CountryCode!
  3321. key: LocalizationExtensionKey!
  3322. purpose: LocalizationExtensionPurpose!
  3323. title: String!
  3324. value: String!
  3325. }
  3326. type LocalizationExtensionConnection
  3327. @join__type(graph: CUSTOMER)
  3328. @join__type(graph: PRODUCT)
  3329. {
  3330. edges: [LocalizationExtensionEdge!]!
  3331. nodes: [LocalizationExtension!]!
  3332. pageInfo: PageInfo!
  3333. }
  3334. type LocalizationExtensionEdge
  3335. @join__type(graph: CUSTOMER)
  3336. @join__type(graph: PRODUCT)
  3337. {
  3338. cursor: String!
  3339. node: LocalizationExtension!
  3340. }
  3341. enum LocalizationExtensionKey
  3342. @join__type(graph: CUSTOMER)
  3343. @join__type(graph: PRODUCT)
  3344. {
  3345. TAX_CREDENTIAL_BR
  3346. SHIPPING_CREDENTIAL_BR
  3347. SHIPPING_CREDENTIAL_CN
  3348. TAX_CREDENTIAL_IT
  3349. TAX_EMAIL_IT
  3350. SHIPPING_CREDENTIAL_KR
  3351. }
  3352. enum LocalizationExtensionPurpose
  3353. @join__type(graph: CUSTOMER)
  3354. @join__type(graph: PRODUCT)
  3355. {
  3356. SHIPPING
  3357. TAX
  3358. }
  3359. type Location implements HasMetafieldDefinitions & HasMetafields & LegacyInteroperability & Node
  3360. @join__implements(graph: CUSTOMER, interface: "HasMetafieldDefinitions")
  3361. @join__implements(graph: CUSTOMER, interface: "HasMetafields")
  3362. @join__implements(graph: CUSTOMER, interface: "LegacyInteroperability")
  3363. @join__implements(graph: CUSTOMER, interface: "Node")
  3364. @join__implements(graph: PRODUCT, interface: "HasMetafieldDefinitions")
  3365. @join__implements(graph: PRODUCT, interface: "HasMetafields")
  3366. @join__implements(graph: PRODUCT, interface: "LegacyInteroperability")
  3367. @join__implements(graph: PRODUCT, interface: "Node")
  3368. @join__type(graph: CUSTOMER)
  3369. @join__type(graph: PRODUCT)
  3370. {
  3371. activatable: Boolean!
  3372. address: LocationAddress!
  3373. addressVerified: Boolean!
  3374. deactivatable: Boolean!
  3375. deactivatedAt: String
  3376. deletable: Boolean!
  3377. fulfillmentService: FulfillmentService
  3378. fulfillsOnlineOrders: Boolean!
  3379. hasActiveInventory: Boolean!
  3380. hasUnfulfilledOrders: Boolean!
  3381. id: ID!
  3382. inventoryLevel(inventoryItemId: ID!): InventoryLevel
  3383. inventoryLevels(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, query: String): InventoryLevelConnection!
  3384. isActive: Boolean!
  3385. legacyResourceId: UnsignedInt64!
  3386. metafield(namespace: String!, key: String!): Metafield
  3387. metafieldDefinitions(namespace: String, pinnedStatus: MetafieldDefinitionPinnedStatus = ANY, first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: MetafieldDefinitionSortKeys = ID, query: String): MetafieldDefinitionConnection!
  3388. metafields(namespace: String, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): MetafieldConnection!
  3389. name: String!
  3390. privateMetafield(namespace: String!, key: String!): PrivateMetafield
  3391. privateMetafields(namespace: String, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): PrivateMetafieldConnection!
  3392. shipsInventory: Boolean!
  3393. suggestedAddresses: [LocationSuggestedAddress!]!
  3394. }
  3395. type LocationAddress
  3396. @join__type(graph: CUSTOMER)
  3397. @join__type(graph: PRODUCT)
  3398. {
  3399. address1: String
  3400. address2: String
  3401. city: String
  3402. country: String
  3403. countryCode: String
  3404. formatted: [String!]!
  3405. latitude: Float
  3406. longitude: Float
  3407. phone: String
  3408. province: String
  3409. provinceCode: String
  3410. zip: String
  3411. }
  3412. type LocationConnection
  3413. @join__type(graph: CUSTOMER)
  3414. @join__type(graph: PRODUCT)
  3415. {
  3416. edges: [LocationEdge!]!
  3417. nodes: [Location!]!
  3418. pageInfo: PageInfo!
  3419. }
  3420. type LocationEdge
  3421. @join__type(graph: CUSTOMER)
  3422. @join__type(graph: PRODUCT)
  3423. {
  3424. cursor: String!
  3425. node: Location!
  3426. }
  3427. enum LocationSortKeys
  3428. @join__type(graph: CUSTOMER)
  3429. @join__type(graph: PRODUCT)
  3430. {
  3431. NAME
  3432. ID
  3433. RELEVANCE
  3434. }
  3435. type LocationSuggestedAddress
  3436. @join__type(graph: CUSTOMER)
  3437. @join__type(graph: PRODUCT)
  3438. {
  3439. address1: String
  3440. address2: String
  3441. city: String
  3442. country: String
  3443. countryCode: CountryCode
  3444. formatted: [String!]!
  3445. province: String
  3446. provinceCode: String
  3447. zip: String
  3448. }
  3449. type MailingAddress implements Node
  3450. @join__implements(graph: CUSTOMER, interface: "Node")
  3451. @join__implements(graph: PRODUCT, interface: "Node")
  3452. @join__type(graph: CUSTOMER)
  3453. @join__type(graph: PRODUCT)
  3454. {
  3455. address1: String
  3456. address2: String
  3457. city: String
  3458. company: String
  3459. coordinatesValidated: Boolean!
  3460. country: String
  3461. countryCodeV2: CountryCode
  3462. firstName: String
  3463. formattedArea: String
  3464. id: ID!
  3465. lastName: String
  3466. latitude: Float
  3467. longitude: Float
  3468. name: String
  3469. phone: String
  3470. province: String
  3471. provinceCode: String
  3472. zip: String
  3473. }
  3474. input MailingAddressInput
  3475. @join__type(graph: CUSTOMER)
  3476. @join__type(graph: PRODUCT)
  3477. {
  3478. address1: String
  3479. address2: String
  3480. city: String
  3481. company: String
  3482. countryCode: CountryCode
  3483. firstName: String
  3484. lastName: String
  3485. phone: String
  3486. provinceCode: String
  3487. zip: String
  3488. }
  3489. type ManualDiscountApplication implements DiscountApplication
  3490. @join__implements(graph: CUSTOMER, interface: "DiscountApplication")
  3491. @join__implements(graph: PRODUCT, interface: "DiscountApplication")
  3492. @join__type(graph: CUSTOMER)
  3493. @join__type(graph: PRODUCT)
  3494. {
  3495. allocationMethod: DiscountApplicationAllocationMethod!
  3496. description: String
  3497. index: Int!
  3498. targetSelection: DiscountApplicationTargetSelection!
  3499. targetType: DiscountApplicationTargetType!
  3500. title: String!
  3501. value: PricingValue!
  3502. }
  3503. type Market implements Node
  3504. @join__implements(graph: CUSTOMER, interface: "Node")
  3505. @join__implements(graph: PRODUCT, interface: "Node")
  3506. @join__type(graph: CUSTOMER)
  3507. @join__type(graph: PRODUCT)
  3508. {
  3509. currencySettings: MarketCurrencySettings!
  3510. enabled: Boolean!
  3511. id: ID!
  3512. name: String!
  3513. priceList: PriceList
  3514. primary: Boolean!
  3515. regions(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): MarketRegionConnection!
  3516. webPresence: MarketWebPresence
  3517. }
  3518. type MarketCurrencySettings
  3519. @join__type(graph: CUSTOMER)
  3520. @join__type(graph: PRODUCT)
  3521. {
  3522. baseCurrency: CurrencySetting!
  3523. localCurrencies: Boolean!
  3524. }
  3525. enum MarketingChannel
  3526. @join__type(graph: CUSTOMER)
  3527. @join__type(graph: PRODUCT)
  3528. {
  3529. SEARCH
  3530. DISPLAY
  3531. SOCIAL
  3532. EMAIL
  3533. REFERRAL
  3534. }
  3535. type MarketingEvent implements LegacyInteroperability & Node
  3536. @join__implements(graph: CUSTOMER, interface: "LegacyInteroperability")
  3537. @join__implements(graph: CUSTOMER, interface: "Node")
  3538. @join__implements(graph: PRODUCT, interface: "LegacyInteroperability")
  3539. @join__implements(graph: PRODUCT, interface: "Node")
  3540. @join__type(graph: CUSTOMER)
  3541. @join__type(graph: PRODUCT)
  3542. {
  3543. app: App!
  3544. channel: MarketingChannel
  3545. description: String
  3546. endedAt: DateTime
  3547. id: ID!
  3548. legacyResourceId: UnsignedInt64!
  3549. manageUrl: URL
  3550. previewUrl: URL
  3551. remoteId: String
  3552. scheduledToEndAt: DateTime
  3553. sourceAndMedium: String!
  3554. startedAt: DateTime!
  3555. type: MarketingTactic!
  3556. utmCampaign: String
  3557. utmMedium: String
  3558. utmSource: String
  3559. }
  3560. enum MarketingTactic
  3561. @join__type(graph: CUSTOMER)
  3562. @join__type(graph: PRODUCT)
  3563. {
  3564. ABANDONED_CART
  3565. AD
  3566. AFFILIATE
  3567. LINK
  3568. LOYALTY
  3569. MESSAGE
  3570. NEWSLETTER
  3571. NOTIFICATION
  3572. POST
  3573. RETARGETING
  3574. TRANSACTIONAL
  3575. SEO
  3576. DIRECT
  3577. STOREFRONT_APP
  3578. }
  3579. interface MarketRegion
  3580. @join__type(graph: CUSTOMER)
  3581. @join__type(graph: PRODUCT)
  3582. {
  3583. id: ID!
  3584. name: String!
  3585. }
  3586. type MarketRegionConnection
  3587. @join__type(graph: CUSTOMER)
  3588. @join__type(graph: PRODUCT)
  3589. {
  3590. edges: [MarketRegionEdge!]!
  3591. nodes: [MarketRegion!]!
  3592. pageInfo: PageInfo!
  3593. }
  3594. type MarketRegionEdge
  3595. @join__type(graph: CUSTOMER)
  3596. @join__type(graph: PRODUCT)
  3597. {
  3598. cursor: String!
  3599. node: MarketRegion!
  3600. }
  3601. type MarketWebPresence implements Node
  3602. @join__implements(graph: CUSTOMER, interface: "Node")
  3603. @join__implements(graph: PRODUCT, interface: "Node")
  3604. @join__type(graph: CUSTOMER)
  3605. @join__type(graph: PRODUCT)
  3606. {
  3607. alternateLocales: [String!]!
  3608. defaultLocale: String!
  3609. domain: Domain
  3610. id: ID!
  3611. market: Market!
  3612. rootUrls: [MarketWebPresenceRootUrl!]!
  3613. subfolderSuffix: String
  3614. }
  3615. type MarketWebPresenceRootUrl
  3616. @join__type(graph: CUSTOMER)
  3617. @join__type(graph: PRODUCT)
  3618. {
  3619. locale: String!
  3620. url: URL!
  3621. }
  3622. interface Media
  3623. @join__type(graph: CUSTOMER)
  3624. @join__type(graph: PRODUCT)
  3625. {
  3626. alt: String
  3627. mediaContentType: MediaContentType!
  3628. mediaErrors: [MediaError!]!
  3629. mediaWarnings: [MediaWarning!]!
  3630. preview: MediaPreviewImage
  3631. status: MediaStatus!
  3632. }
  3633. type MediaConnection
  3634. @join__type(graph: CUSTOMER)
  3635. @join__type(graph: PRODUCT)
  3636. {
  3637. edges: [MediaEdge!]!
  3638. nodes: [Media!]!
  3639. pageInfo: PageInfo!
  3640. }
  3641. enum MediaContentType
  3642. @join__type(graph: CUSTOMER)
  3643. @join__type(graph: PRODUCT)
  3644. {
  3645. VIDEO
  3646. EXTERNAL_VIDEO
  3647. MODEL_3D
  3648. IMAGE
  3649. }
  3650. type MediaEdge
  3651. @join__type(graph: CUSTOMER)
  3652. @join__type(graph: PRODUCT)
  3653. {
  3654. cursor: String!
  3655. node: Media!
  3656. }
  3657. type MediaError
  3658. @join__type(graph: CUSTOMER)
  3659. @join__type(graph: PRODUCT)
  3660. {
  3661. code: MediaErrorCode!
  3662. details: String
  3663. message: String!
  3664. }
  3665. enum MediaErrorCode
  3666. @join__type(graph: CUSTOMER)
  3667. @join__type(graph: PRODUCT)
  3668. {
  3669. UNKNOWN
  3670. INVALID_SIGNED_URL
  3671. IMAGE_DOWNLOAD_FAILURE
  3672. IMAGE_PROCESSING_FAILURE
  3673. MEDIA_TIMEOUT_ERROR
  3674. EXTERNAL_VIDEO_NOT_FOUND
  3675. EXTERNAL_VIDEO_UNLISTED
  3676. EXTERNAL_VIDEO_INVALID_ASPECT_RATIO
  3677. EXTERNAL_VIDEO_EMBED_DISABLED
  3678. EXTERNAL_VIDEO_EMBED_NOT_FOUND_OR_TRANSCODING
  3679. GENERIC_FILE_DOWNLOAD_FAILURE
  3680. GENERIC_FILE_INVALID_SIZE
  3681. VIDEO_METADATA_READ_ERROR
  3682. VIDEO_INVALID_FILETYPE_ERROR
  3683. VIDEO_MIN_WIDTH_ERROR
  3684. VIDEO_MAX_WIDTH_ERROR
  3685. VIDEO_MIN_HEIGHT_ERROR
  3686. VIDEO_MAX_HEIGHT_ERROR
  3687. VIDEO_MIN_DURATION_ERROR
  3688. VIDEO_MAX_DURATION_ERROR
  3689. VIDEO_VALIDATION_ERROR
  3690. MODEL3D_VALIDATION_ERROR
  3691. MODEL3D_THUMBNAIL_GENERATION_ERROR
  3692. MODEL3D_GLB_TO_USDZ_CONVERSION_ERROR
  3693. MODEL3D_GLB_OUTPUT_CREATION_ERROR
  3694. MODEL3D_PROCESSING_FAILURE
  3695. UNSUPPORTED_IMAGE_FILE_TYPE
  3696. INVALID_IMAGE_FILE_SIZE
  3697. INVALID_IMAGE_ASPECT_RATIO
  3698. INVALID_IMAGE_RESOLUTION
  3699. FILE_STORAGE_LIMIT_EXCEEDED
  3700. }
  3701. type MediaImage implements File & Media & Node
  3702. @join__implements(graph: CUSTOMER, interface: "File")
  3703. @join__implements(graph: CUSTOMER, interface: "Media")
  3704. @join__implements(graph: CUSTOMER, interface: "Node")
  3705. @join__implements(graph: PRODUCT, interface: "File")
  3706. @join__implements(graph: PRODUCT, interface: "Media")
  3707. @join__implements(graph: PRODUCT, interface: "Node")
  3708. @join__type(graph: CUSTOMER)
  3709. @join__type(graph: PRODUCT)
  3710. {
  3711. alt: String
  3712. createdAt: DateTime!
  3713. fileErrors: [FileError!]!
  3714. fileStatus: FileStatus!
  3715. id: ID!
  3716. image: Image
  3717. mediaContentType: MediaContentType!
  3718. mediaErrors: [MediaError!]!
  3719. mediaWarnings: [MediaWarning!]!
  3720. mimeType: String
  3721. originalSource: MediaImageOriginalSource
  3722. preview: MediaPreviewImage
  3723. status: MediaStatus!
  3724. }
  3725. type MediaImageOriginalSource
  3726. @join__type(graph: CUSTOMER)
  3727. @join__type(graph: PRODUCT)
  3728. {
  3729. fileSize: Int
  3730. }
  3731. type MediaPreviewImage
  3732. @join__type(graph: CUSTOMER)
  3733. @join__type(graph: PRODUCT)
  3734. {
  3735. image: Image
  3736. status: MediaPreviewImageStatus!
  3737. }
  3738. enum MediaPreviewImageStatus
  3739. @join__type(graph: CUSTOMER)
  3740. @join__type(graph: PRODUCT)
  3741. {
  3742. UPLOADED
  3743. PROCESSING
  3744. READY
  3745. FAILED
  3746. }
  3747. enum MediaStatus
  3748. @join__type(graph: CUSTOMER)
  3749. @join__type(graph: PRODUCT)
  3750. {
  3751. UPLOADED
  3752. PROCESSING
  3753. READY
  3754. FAILED
  3755. }
  3756. type MediaUserError implements DisplayableError
  3757. @join__implements(graph: CUSTOMER, interface: "DisplayableError")
  3758. @join__implements(graph: PRODUCT, interface: "DisplayableError")
  3759. @join__type(graph: CUSTOMER)
  3760. @join__type(graph: PRODUCT)
  3761. {
  3762. code: MediaUserErrorCode
  3763. field: [String!]
  3764. message: String!
  3765. }
  3766. enum MediaUserErrorCode
  3767. @join__type(graph: CUSTOMER)
  3768. @join__type(graph: PRODUCT)
  3769. {
  3770. INVALID
  3771. BLANK
  3772. VIDEO_VALIDATION_ERROR
  3773. MODEL3D_VALIDATION_ERROR
  3774. VIDEO_THROTTLE_EXCEEDED
  3775. MODEL3D_THROTTLE_EXCEEDED
  3776. PRODUCT_MEDIA_LIMIT_EXCEEDED
  3777. SHOP_MEDIA_LIMIT_EXCEEDED
  3778. PRODUCT_DOES_NOT_EXIST
  3779. MEDIA_DOES_NOT_EXIST
  3780. MEDIA_DOES_NOT_EXIST_ON_PRODUCT
  3781. TOO_MANY_MEDIA_PER_INPUT_PAIR
  3782. MAXIMUM_VARIANT_MEDIA_PAIRS_EXCEEDED
  3783. INVALID_MEDIA_TYPE
  3784. PRODUCT_VARIANT_SPECIFIED_MULTIPLE_TIMES
  3785. PRODUCT_VARIANT_DOES_NOT_EXIST_ON_PRODUCT
  3786. NON_READY_MEDIA
  3787. PRODUCT_VARIANT_ALREADY_HAS_MEDIA
  3788. MEDIA_IS_NOT_ATTACHED_TO_VARIANT
  3789. MEDIA_CANNOT_BE_MODIFIED
  3790. }
  3791. type MediaWarning
  3792. @join__type(graph: CUSTOMER)
  3793. @join__type(graph: PRODUCT)
  3794. {
  3795. code: MediaWarningCode!
  3796. message: String
  3797. }
  3798. enum MediaWarningCode
  3799. @join__type(graph: CUSTOMER)
  3800. @join__type(graph: PRODUCT)
  3801. {
  3802. MODEL_SMALL_PHYSICAL_SIZE
  3803. MODEL_LARGE_PHYSICAL_SIZE
  3804. }
  3805. type MerchantApprovalSignals
  3806. @join__type(graph: CUSTOMER)
  3807. @join__type(graph: PRODUCT)
  3808. {
  3809. identityVerified: Boolean!
  3810. verifiedByShopify: Boolean!
  3811. }
  3812. type Metafield implements LegacyInteroperability & Node
  3813. @join__implements(graph: CUSTOMER, interface: "LegacyInteroperability")
  3814. @join__implements(graph: CUSTOMER, interface: "Node")
  3815. @join__implements(graph: PRODUCT, interface: "LegacyInteroperability")
  3816. @join__implements(graph: PRODUCT, interface: "Node")
  3817. @join__type(graph: CUSTOMER)
  3818. @join__type(graph: PRODUCT)
  3819. {
  3820. createdAt: DateTime!
  3821. definition: MetafieldDefinition
  3822. description: String
  3823. id: ID!
  3824. key: String!
  3825. legacyResourceId: UnsignedInt64!
  3826. namespace: String!
  3827. owner: HasMetafields!
  3828. ownerType: MetafieldOwnerType!
  3829. reference: MetafieldReference
  3830. references(first: Int, after: String, last: Int, before: String): MetafieldReferenceConnection
  3831. type: String!
  3832. updatedAt: DateTime!
  3833. value: String!
  3834. }
  3835. type MetafieldConnection
  3836. @join__type(graph: CUSTOMER)
  3837. @join__type(graph: PRODUCT)
  3838. {
  3839. edges: [MetafieldEdge!]!
  3840. nodes: [Metafield!]!
  3841. pageInfo: PageInfo!
  3842. }
  3843. type MetafieldDefinition implements Node
  3844. @join__implements(graph: CUSTOMER, interface: "Node")
  3845. @join__implements(graph: PRODUCT, interface: "Node")
  3846. @join__type(graph: CUSTOMER)
  3847. @join__type(graph: PRODUCT)
  3848. {
  3849. description: String
  3850. id: ID!
  3851. key: String!
  3852. metafields(validationStatus: MetafieldValidationStatus = ANY, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): MetafieldConnection!
  3853. metafieldsCount(validationStatus: MetafieldValidationStatus): Int!
  3854. name: String!
  3855. namespace: String!
  3856. ownerType: MetafieldOwnerType!
  3857. pinnedPosition: Int
  3858. standardTemplate: StandardMetafieldDefinitionTemplate
  3859. type: MetafieldDefinitionType!
  3860. validationStatus: MetafieldDefinitionValidationStatus!
  3861. validations: [MetafieldDefinitionValidation!]!
  3862. visibleToStorefrontApi: Boolean!
  3863. }
  3864. type MetafieldDefinitionConnection
  3865. @join__type(graph: CUSTOMER)
  3866. @join__type(graph: PRODUCT)
  3867. {
  3868. edges: [MetafieldDefinitionEdge!]!
  3869. nodes: [MetafieldDefinition!]!
  3870. pageInfo: PageInfo!
  3871. }
  3872. type MetafieldDefinitionEdge
  3873. @join__type(graph: CUSTOMER)
  3874. @join__type(graph: PRODUCT)
  3875. {
  3876. cursor: String!
  3877. node: MetafieldDefinition!
  3878. }
  3879. enum MetafieldDefinitionPinnedStatus
  3880. @join__type(graph: CUSTOMER)
  3881. @join__type(graph: PRODUCT)
  3882. {
  3883. ANY
  3884. PINNED
  3885. UNPINNED
  3886. }
  3887. enum MetafieldDefinitionSortKeys
  3888. @join__type(graph: CUSTOMER)
  3889. @join__type(graph: PRODUCT)
  3890. {
  3891. ID
  3892. NAME
  3893. PINNED_POSITION
  3894. RELEVANCE
  3895. }
  3896. type MetafieldDefinitionSupportedValidation
  3897. @join__type(graph: CUSTOMER)
  3898. @join__type(graph: PRODUCT)
  3899. {
  3900. name: String!
  3901. type: String!
  3902. }
  3903. type MetafieldDefinitionType
  3904. @join__type(graph: CUSTOMER)
  3905. @join__type(graph: PRODUCT)
  3906. {
  3907. category: String!
  3908. name: String!
  3909. supportedValidations: [MetafieldDefinitionSupportedValidation!]!
  3910. supportsDefinitionMigrations: Boolean!
  3911. }
  3912. type MetafieldDefinitionValidation
  3913. @join__type(graph: CUSTOMER)
  3914. @join__type(graph: PRODUCT)
  3915. {
  3916. name: String!
  3917. type: String!
  3918. value: String
  3919. }
  3920. enum MetafieldDefinitionValidationStatus
  3921. @join__type(graph: CUSTOMER)
  3922. @join__type(graph: PRODUCT)
  3923. {
  3924. ALL_VALID
  3925. IN_PROGRESS
  3926. SOME_INVALID
  3927. }
  3928. type MetafieldEdge
  3929. @join__type(graph: CUSTOMER)
  3930. @join__type(graph: PRODUCT)
  3931. {
  3932. cursor: String!
  3933. node: Metafield!
  3934. }
  3935. input MetafieldInput
  3936. @join__type(graph: CUSTOMER)
  3937. @join__type(graph: PRODUCT)
  3938. {
  3939. description: String
  3940. id: ID
  3941. namespace: String
  3942. key: String
  3943. value: String
  3944. type: String
  3945. }
  3946. enum MetafieldOwnerType
  3947. @join__type(graph: CUSTOMER)
  3948. @join__type(graph: PRODUCT)
  3949. {
  3950. API_PERMISSION
  3951. ARTICLE
  3952. BLOG
  3953. COLLECTION
  3954. CUSTOMER
  3955. DISCOUNT
  3956. DRAFTORDER
  3957. LOCATION
  3958. ORDER
  3959. PAGE
  3960. PRODUCT
  3961. PRODUCTIMAGE
  3962. PRODUCTVARIANT
  3963. SHOP
  3964. }
  3965. union MetafieldReference
  3966. @join__type(graph: CUSTOMER)
  3967. @join__type(graph: PRODUCT)
  3968. = Collection | GenericFile | MediaImage | OnlineStorePage | Product | ProductVariant | Video
  3969. type MetafieldReferenceConnection
  3970. @join__type(graph: CUSTOMER)
  3971. @join__type(graph: PRODUCT)
  3972. {
  3973. edges: [MetafieldReferenceEdge!]!
  3974. nodes: [MetafieldReference]!
  3975. pageInfo: PageInfo!
  3976. }
  3977. type MetafieldReferenceEdge
  3978. @join__type(graph: CUSTOMER)
  3979. @join__type(graph: PRODUCT)
  3980. {
  3981. cursor: String!
  3982. node: MetafieldReference
  3983. }
  3984. enum MetafieldValidationStatus
  3985. @join__type(graph: CUSTOMER)
  3986. @join__type(graph: PRODUCT)
  3987. {
  3988. ANY
  3989. VALID
  3990. INVALID
  3991. }
  3992. enum MethodDefinitionSortKeys
  3993. @join__type(graph: CUSTOMER)
  3994. @join__type(graph: PRODUCT)
  3995. {
  3996. RATE_PROVIDER_TYPE
  3997. ID
  3998. RELEVANCE
  3999. }
  4000. scalar Money
  4001. @join__type(graph: CUSTOMER)
  4002. @join__type(graph: PRODUCT)
  4003. type MoneyBag
  4004. @join__type(graph: CUSTOMER)
  4005. @join__type(graph: PRODUCT)
  4006. {
  4007. presentmentMoney: MoneyV2!
  4008. shopMoney: MoneyV2!
  4009. }
  4010. type MoneyV2
  4011. @join__type(graph: CUSTOMER)
  4012. @join__type(graph: PRODUCT)
  4013. {
  4014. amount: Decimal!
  4015. currencyCode: CurrencyCode!
  4016. }
  4017. input MoveInput
  4018. @join__type(graph: PRODUCT)
  4019. {
  4020. id: ID!
  4021. newPosition: UnsignedInt64!
  4022. }
  4023. type Mutation
  4024. @inContext
  4025. @join__type(graph: CUSTOMER)
  4026. @join__type(graph: PRODUCT)
  4027. {
  4028. customerCreate(input: CustomerInput!): CustomerCreatePayload @join__field(graph: CUSTOMER)
  4029. productAppendImages(input: ProductAppendImagesInput!): ProductAppendImagesPayload @join__field(graph: PRODUCT)
  4030. productChangeStatus(productId: ID!, status: ProductStatus!): ProductChangeStatusPayload @join__field(graph: PRODUCT)
  4031. productCreate(input: ProductInput!, media: [CreateMediaInput!]): ProductCreatePayload @join__field(graph: PRODUCT)
  4032. productCreateMedia(productId: ID!, media: [CreateMediaInput!]!): ProductCreateMediaPayload @join__field(graph: PRODUCT)
  4033. productDelete(input: ProductDeleteInput!): ProductDeletePayload @join__field(graph: PRODUCT)
  4034. productDeleteImages(id: ID!, imageIds: [ID!]!): ProductDeleteImagesPayload @join__field(graph: PRODUCT)
  4035. productDeleteMedia(productId: ID!, mediaIds: [ID!]!): ProductDeleteMediaPayload @join__field(graph: PRODUCT)
  4036. productDuplicate(productId: ID!, newTitle: String!, newStatus: ProductStatus, includeImages: Boolean = false): ProductDuplicatePayload @join__field(graph: PRODUCT)
  4037. productImageUpdate(productId: ID!, image: ImageInput!): ProductImageUpdatePayload @join__field(graph: PRODUCT)
  4038. productJoinSellingPlanGroups(id: ID!, sellingPlanGroupIds: [ID!]!): ProductJoinSellingPlanGroupsPayload @join__field(graph: PRODUCT)
  4039. productLeaveSellingPlanGroups(id: ID!, sellingPlanGroupIds: [ID!]!): ProductLeaveSellingPlanGroupsPayload @join__field(graph: PRODUCT)
  4040. productReorderImages(id: ID!, moves: [MoveInput!]!): ProductReorderImagesPayload @join__field(graph: PRODUCT)
  4041. productReorderMedia(id: ID!, moves: [MoveInput!]!): ProductReorderMediaPayload @join__field(graph: PRODUCT)
  4042. productUpdate(input: ProductInput!): ProductUpdatePayload @join__field(graph: PRODUCT)
  4043. productUpdateMedia(productId: ID!, media: [UpdateMediaInput!]!): ProductUpdateMediaPayload @join__field(graph: PRODUCT)
  4044. productVariantAppendMedia(productId: ID!, variantMedia: [ProductVariantAppendMediaInput!]!): ProductVariantAppendMediaPayload @join__field(graph: PRODUCT)
  4045. productVariantCreate(input: ProductVariantInput!): ProductVariantCreatePayload @join__field(graph: PRODUCT)
  4046. productVariantDelete(id: ID!): ProductVariantDeletePayload @join__field(graph: PRODUCT)
  4047. productVariantDetachMedia(productId: ID!, variantMedia: [ProductVariantDetachMediaInput!]!): ProductVariantDetachMediaPayload @join__field(graph: PRODUCT)
  4048. productVariantJoinSellingPlanGroups(id: ID!, sellingPlanGroupIds: [ID!]!): ProductVariantJoinSellingPlanGroupsPayload @join__field(graph: PRODUCT)
  4049. productVariantLeaveSellingPlanGroups(id: ID!, sellingPlanGroupIds: [ID!]!): ProductVariantLeaveSellingPlanGroupsPayload @join__field(graph: PRODUCT)
  4050. productVariantUpdate(input: ProductVariantInput!): ProductVariantUpdatePayload @join__field(graph: PRODUCT)
  4051. productVariantsBulkCreate(variants: [ProductVariantsBulkInput!]!, productId: ID!): ProductVariantsBulkCreatePayload @join__field(graph: PRODUCT)
  4052. productVariantsBulkDelete(variantsIds: [ID!]!, productId: ID!): ProductVariantsBulkDeletePayload @join__field(graph: PRODUCT)
  4053. productVariantsBulkReorder(productId: ID!, positions: [ProductVariantPositionInput!]!): ProductVariantsBulkReorderPayload @join__field(graph: PRODUCT)
  4054. productVariantsBulkUpdate(variants: [ProductVariantsBulkInput!]!, productId: ID!): ProductVariantsBulkUpdatePayload @join__field(graph: PRODUCT)
  4055. }
  4056. interface Navigable
  4057. @join__type(graph: CUSTOMER)
  4058. @join__type(graph: PRODUCT)
  4059. {
  4060. defaultCursor: String!
  4061. }
  4062. type NavigationItem
  4063. @join__type(graph: CUSTOMER)
  4064. @join__type(graph: PRODUCT)
  4065. {
  4066. id: String!
  4067. title: String!
  4068. url: URL!
  4069. }
  4070. interface Node
  4071. @join__type(graph: CUSTOMER)
  4072. @join__type(graph: PRODUCT)
  4073. {
  4074. id: ID!
  4075. }
  4076. type OnlineStorePage implements HasPublishedTranslations & Navigable & Node
  4077. @join__implements(graph: CUSTOMER, interface: "HasPublishedTranslations")
  4078. @join__implements(graph: CUSTOMER, interface: "Navigable")
  4079. @join__implements(graph: CUSTOMER, interface: "Node")
  4080. @join__implements(graph: PRODUCT, interface: "HasPublishedTranslations")
  4081. @join__implements(graph: PRODUCT, interface: "Navigable")
  4082. @join__implements(graph: PRODUCT, interface: "Node")
  4083. @join__type(graph: CUSTOMER)
  4084. @join__type(graph: PRODUCT)
  4085. {
  4086. defaultCursor: String!
  4087. id: ID!
  4088. translations(locale: String!, marketId: ID): [PublishedTranslation!]!
  4089. }
  4090. interface OnlineStorePreviewable
  4091. @join__type(graph: CUSTOMER)
  4092. @join__type(graph: PRODUCT)
  4093. {
  4094. onlineStorePreviewUrl: URL
  4095. }
  4096. type Order implements CommentEventSubject & HasEvents & HasLocalizationExtensions & HasMetafieldDefinitions & HasMetafields & LegacyInteroperability & Node
  4097. @join__implements(graph: CUSTOMER, interface: "CommentEventSubject")
  4098. @join__implements(graph: CUSTOMER, interface: "HasEvents")
  4099. @join__implements(graph: CUSTOMER, interface: "HasLocalizationExtensions")
  4100. @join__implements(graph: CUSTOMER, interface: "HasMetafieldDefinitions")
  4101. @join__implements(graph: CUSTOMER, interface: "HasMetafields")
  4102. @join__implements(graph: CUSTOMER, interface: "LegacyInteroperability")
  4103. @join__implements(graph: CUSTOMER, interface: "Node")
  4104. @join__implements(graph: PRODUCT, interface: "CommentEventSubject")
  4105. @join__implements(graph: PRODUCT, interface: "HasEvents")
  4106. @join__implements(graph: PRODUCT, interface: "HasLocalizationExtensions")
  4107. @join__implements(graph: PRODUCT, interface: "HasMetafieldDefinitions")
  4108. @join__implements(graph: PRODUCT, interface: "HasMetafields")
  4109. @join__implements(graph: PRODUCT, interface: "LegacyInteroperability")
  4110. @join__implements(graph: PRODUCT, interface: "Node")
  4111. @join__type(graph: CUSTOMER)
  4112. @join__type(graph: PRODUCT)
  4113. {
  4114. agreements(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, query: String): SalesAgreementConnection!
  4115. alerts: [ResourceAlert!]!
  4116. app: OrderApp
  4117. billingAddress: MailingAddress
  4118. billingAddressMatchesShippingAddress: Boolean!
  4119. canMarkAsPaid: Boolean!
  4120. canNotifyCustomer: Boolean!
  4121. cancelReason: OrderCancelReason
  4122. cancelledAt: DateTime
  4123. capturable: Boolean!
  4124. cartDiscountAmountSet: MoneyBag
  4125. channelInformation: ChannelInformation
  4126. clientIp: String
  4127. closed: Boolean!
  4128. closedAt: DateTime
  4129. confirmed: Boolean!
  4130. createdAt: DateTime!
  4131. currencyCode: CurrencyCode!
  4132. currentCartDiscountAmountSet: MoneyBag!
  4133. currentSubtotalLineItemsQuantity: Int!
  4134. currentSubtotalPriceSet: MoneyBag!
  4135. currentTaxLines: [TaxLine!]!
  4136. currentTotalDiscountsSet: MoneyBag!
  4137. currentTotalDutiesSet: MoneyBag
  4138. currentTotalPriceSet: MoneyBag!
  4139. currentTotalTaxSet: MoneyBag!
  4140. currentTotalWeight: UnsignedInt64!
  4141. customAttributes: [Attribute!]!
  4142. customer: Customer
  4143. customerAcceptsMarketing: Boolean!
  4144. customerJourneySummary: CustomerJourneySummary
  4145. customerLocale: String
  4146. discountApplications(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): DiscountApplicationConnection!
  4147. discountCode: String
  4148. discountCodes: [String!]!
  4149. displayAddress: MailingAddress
  4150. displayFinancialStatus: OrderDisplayFinancialStatus
  4151. displayFulfillmentStatus: OrderDisplayFulfillmentStatus!
  4152. disputes: [OrderDisputeSummary!]!
  4153. edited: Boolean!
  4154. email: String
  4155. estimatedTaxes: Boolean!
  4156. events(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: EventSortKeys = ID, query: String): EventConnection!
  4157. fulfillable: Boolean!
  4158. fulfillmentOrders(displayable: Boolean = false, first: Int, after: String, last: Int, before: String, reverse: Boolean = false, query: String): FulfillmentOrderConnection!
  4159. fulfillments(first: Int): [Fulfillment!]!
  4160. fullyPaid: Boolean!
  4161. hasTimelineComment: Boolean!
  4162. id: ID!
  4163. legacyResourceId: UnsignedInt64!
  4164. lineItems(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): LineItemConnection!
  4165. localizationExtensions(countryCodes: [CountryCode!], purposes: [LocalizationExtensionPurpose!], first: Int, after: String, last: Int, before: String, reverse: Boolean = false): LocalizationExtensionConnection!
  4166. merchantEditable: Boolean!
  4167. merchantEditableErrors: [String!]!
  4168. merchantOfRecordApp: OrderApp
  4169. metafield(namespace: String!, key: String!): Metafield
  4170. metafieldDefinitions(namespace: String, pinnedStatus: MetafieldDefinitionPinnedStatus = ANY, first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: MetafieldDefinitionSortKeys = ID, query: String): MetafieldDefinitionConnection!
  4171. metafields(namespace: String, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): MetafieldConnection!
  4172. name: String!
  4173. netPaymentSet: MoneyBag!
  4174. nonFulfillableLineItems(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): LineItemConnection!
  4175. note: String
  4176. originalTotalDutiesSet: MoneyBag
  4177. originalTotalPriceSet: MoneyBag!
  4178. paymentCollectionDetails: OrderPaymentCollectionDetails!
  4179. paymentGatewayNames: [String!]!
  4180. paymentTerms: PaymentTerms
  4181. phone: String
  4182. physicalLocation: Location
  4183. presentmentCurrencyCode: CurrencyCode!
  4184. privateMetafield(namespace: String!, key: String!): PrivateMetafield
  4185. privateMetafields(namespace: String, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): PrivateMetafieldConnection!
  4186. processedAt: DateTime!
  4187. publication: Publication
  4188. purchasingEntity: PurchasingEntity
  4189. refundDiscrepancySet: MoneyBag!
  4190. refundable: Boolean!
  4191. refunds(first: Int): [Refund!]!
  4192. registeredSourceUrl: URL
  4193. requiresShipping: Boolean!
  4194. restockable: Boolean!
  4195. riskLevel: OrderRiskLevel!
  4196. risks(first: Int): [OrderRisk!]!
  4197. shippingAddress: MailingAddress
  4198. shippingLine: ShippingLine
  4199. shippingLines(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): ShippingLineConnection!
  4200. sourceIdentifier: String
  4201. subtotalLineItemsQuantity: Int!
  4202. subtotalPriceSet: MoneyBag
  4203. suggestedRefund(shippingAmount: Money, refundShipping: Boolean, refundLineItems: [RefundLineItemInput!], refundDuties: [RefundDutyInput!], suggestFullRefund: Boolean = false): SuggestedRefund
  4204. tags: [String!]!
  4205. taxLines: [TaxLine!]!
  4206. taxesIncluded: Boolean!
  4207. test: Boolean!
  4208. totalCapturableSet: MoneyBag!
  4209. totalDiscountsSet: MoneyBag
  4210. totalOutstandingSet: MoneyBag!
  4211. totalPriceSet: MoneyBag!
  4212. totalReceivedSet: MoneyBag!
  4213. totalRefundedSet: MoneyBag!
  4214. totalRefundedShippingSet: MoneyBag!
  4215. totalShippingPriceSet: MoneyBag!
  4216. totalTaxSet: MoneyBag
  4217. totalTipReceivedSet: MoneyBag!
  4218. totalWeight: UnsignedInt64
  4219. transactions(first: Int, capturable: Boolean, manuallyResolvable: Boolean): [OrderTransaction!]!
  4220. unpaid: Boolean!
  4221. updatedAt: DateTime!
  4222. }
  4223. enum OrderActionType
  4224. @join__type(graph: CUSTOMER)
  4225. @join__type(graph: PRODUCT)
  4226. {
  4227. ORDER
  4228. ORDER_EDIT
  4229. REFUND
  4230. UNKNOWN
  4231. }
  4232. type OrderApp
  4233. @join__type(graph: CUSTOMER)
  4234. @join__type(graph: PRODUCT)
  4235. {
  4236. icon: Image!
  4237. id: ID!
  4238. name: String!
  4239. }
  4240. enum OrderCancelReason
  4241. @join__type(graph: CUSTOMER)
  4242. @join__type(graph: PRODUCT)
  4243. {
  4244. CUSTOMER
  4245. FRAUD
  4246. INVENTORY
  4247. DECLINED
  4248. OTHER
  4249. }
  4250. type OrderConnection
  4251. @join__type(graph: CUSTOMER)
  4252. @join__type(graph: PRODUCT)
  4253. {
  4254. edges: [OrderEdge!]!
  4255. nodes: [Order!]!
  4256. pageInfo: PageInfo!
  4257. }
  4258. enum OrderDisplayFinancialStatus
  4259. @join__type(graph: CUSTOMER)
  4260. @join__type(graph: PRODUCT)
  4261. {
  4262. PENDING
  4263. AUTHORIZED
  4264. PARTIALLY_PAID
  4265. PARTIALLY_REFUNDED
  4266. VOIDED
  4267. PAID
  4268. REFUNDED
  4269. EXPIRED
  4270. }
  4271. enum OrderDisplayFulfillmentStatus
  4272. @join__type(graph: CUSTOMER)
  4273. @join__type(graph: PRODUCT)
  4274. {
  4275. UNFULFILLED
  4276. PARTIALLY_FULFILLED
  4277. FULFILLED
  4278. RESTOCKED
  4279. PENDING_FULFILLMENT
  4280. OPEN
  4281. IN_PROGRESS
  4282. ON_HOLD
  4283. SCHEDULED
  4284. }
  4285. type OrderDisputeSummary implements Node
  4286. @join__implements(graph: CUSTOMER, interface: "Node")
  4287. @join__implements(graph: PRODUCT, interface: "Node")
  4288. @join__type(graph: CUSTOMER)
  4289. @join__type(graph: PRODUCT)
  4290. {
  4291. id: ID!
  4292. initiatedAs: DisputeType!
  4293. status: DisputeStatus!
  4294. }
  4295. type OrderEdge
  4296. @join__type(graph: CUSTOMER)
  4297. @join__type(graph: PRODUCT)
  4298. {
  4299. cursor: String!
  4300. node: Order!
  4301. }
  4302. type OrderPaymentCollectionDetails
  4303. @join__type(graph: CUSTOMER)
  4304. @join__type(graph: PRODUCT)
  4305. {
  4306. additionalPaymentCollectionUrl: URL
  4307. vaultedPaymentMethods: [PaymentMandate!]
  4308. }
  4309. type OrderRisk
  4310. @join__type(graph: CUSTOMER)
  4311. @join__type(graph: PRODUCT)
  4312. {
  4313. display: Boolean!
  4314. level: OrderRiskLevel
  4315. message: String
  4316. }
  4317. enum OrderRiskLevel
  4318. @join__type(graph: CUSTOMER)
  4319. @join__type(graph: PRODUCT)
  4320. {
  4321. LOW
  4322. MEDIUM
  4323. HIGH
  4324. }
  4325. enum OrderSortKeys
  4326. @join__type(graph: CUSTOMER)
  4327. @join__type(graph: PRODUCT)
  4328. {
  4329. CREATED_AT
  4330. CUSTOMER_NAME
  4331. FINANCIAL_STATUS
  4332. FULFILLMENT_STATUS
  4333. ORDER_NUMBER
  4334. PROCESSED_AT
  4335. TOTAL_PRICE
  4336. UPDATED_AT
  4337. ID
  4338. RELEVANCE
  4339. }
  4340. type OrderTransaction implements Node
  4341. @join__implements(graph: CUSTOMER, interface: "Node")
  4342. @join__implements(graph: PRODUCT, interface: "Node")
  4343. @join__type(graph: CUSTOMER)
  4344. @join__type(graph: PRODUCT)
  4345. {
  4346. accountNumber: String
  4347. amountSet: MoneyBag!
  4348. authorizationCode: String
  4349. authorizationExpiresAt: DateTime
  4350. createdAt: DateTime!
  4351. errorCode: OrderTransactionErrorCode
  4352. fees: [TransactionFee!]!
  4353. formattedGateway: String
  4354. gateway: String
  4355. id: ID!
  4356. kind: OrderTransactionKind!
  4357. manuallyCapturable: Boolean!
  4358. maximumRefundableV2: MoneyV2
  4359. order: Order
  4360. parentTransaction: OrderTransaction
  4361. paymentIcon: Image
  4362. processedAt: DateTime
  4363. receiptJson: JSON
  4364. settlementCurrency: CurrencyCode
  4365. settlementCurrencyRate: Decimal
  4366. shopifyPaymentsSet: ShopifyPaymentsTransactionSet
  4367. status: OrderTransactionStatus!
  4368. test: Boolean!
  4369. totalUnsettledSet: MoneyBag
  4370. user: StaffMember
  4371. }
  4372. type OrderTransactionConnection
  4373. @join__type(graph: CUSTOMER)
  4374. @join__type(graph: PRODUCT)
  4375. {
  4376. edges: [OrderTransactionEdge!]!
  4377. nodes: [OrderTransaction!]!
  4378. pageInfo: PageInfo!
  4379. }
  4380. type OrderTransactionEdge
  4381. @join__type(graph: CUSTOMER)
  4382. @join__type(graph: PRODUCT)
  4383. {
  4384. cursor: String!
  4385. node: OrderTransaction!
  4386. }
  4387. enum OrderTransactionErrorCode
  4388. @join__type(graph: CUSTOMER)
  4389. @join__type(graph: PRODUCT)
  4390. {
  4391. INCORRECT_NUMBER
  4392. INVALID_NUMBER
  4393. INVALID_EXPIRY_DATE
  4394. INVALID_CVC
  4395. EXPIRED_CARD
  4396. INCORRECT_CVC
  4397. INCORRECT_ZIP
  4398. INCORRECT_ADDRESS
  4399. INCORRECT_PIN
  4400. CARD_DECLINED
  4401. PROCESSING_ERROR
  4402. CALL_ISSUER
  4403. PICK_UP_CARD
  4404. CONFIG_ERROR
  4405. TEST_MODE_LIVE_CARD
  4406. UNSUPPORTED_FEATURE
  4407. GENERIC_ERROR
  4408. INVALID_COUNTRY
  4409. INVALID_AMOUNT
  4410. PAYMENT_METHOD_UNAVAILABLE
  4411. AMAZON_PAYMENTS_INVALID_PAYMENT_METHOD
  4412. AMAZON_PAYMENTS_MAX_AMOUNT_CHARGED
  4413. AMAZON_PAYMENTS_MAX_AMOUNT_REFUNDED
  4414. AMAZON_PAYMENTS_MAX_AUTHORIZATIONS_CAPTURED
  4415. AMAZON_PAYMENTS_MAX_REFUNDS_PROCESSED
  4416. AMAZON_PAYMENTS_ORDER_REFERENCE_CANCELED
  4417. AMAZON_PAYMENTS_STALE
  4418. }
  4419. enum OrderTransactionKind
  4420. @join__type(graph: CUSTOMER)
  4421. @join__type(graph: PRODUCT)
  4422. {
  4423. SALE
  4424. CAPTURE
  4425. AUTHORIZATION
  4426. VOID
  4427. REFUND
  4428. CHANGE
  4429. EMV_AUTHORIZATION
  4430. SUGGESTED_REFUND
  4431. }
  4432. enum OrderTransactionStatus
  4433. @join__type(graph: CUSTOMER)
  4434. @join__type(graph: PRODUCT)
  4435. {
  4436. SUCCESS
  4437. FAILURE
  4438. PENDING
  4439. ERROR
  4440. AWAITING_RESPONSE
  4441. UNKNOWN
  4442. }
  4443. type PageInfo
  4444. @join__type(graph: CUSTOMER)
  4445. @join__type(graph: PRODUCT)
  4446. {
  4447. endCursor: String
  4448. hasNextPage: Boolean!
  4449. hasPreviousPage: Boolean!
  4450. startCursor: String
  4451. }
  4452. union PaymentInstrument
  4453. @join__type(graph: CUSTOMER)
  4454. @join__type(graph: PRODUCT)
  4455. = VaultCreditCard | VaultPaypalBillingAgreement
  4456. type PaymentMandate implements Node
  4457. @join__implements(graph: CUSTOMER, interface: "Node")
  4458. @join__implements(graph: PRODUCT, interface: "Node")
  4459. @join__type(graph: CUSTOMER)
  4460. @join__type(graph: PRODUCT)
  4461. {
  4462. id: ID!
  4463. paymentInstrument: PaymentInstrument!
  4464. }
  4465. type PaymentSchedule implements Node
  4466. @join__implements(graph: CUSTOMER, interface: "Node")
  4467. @join__implements(graph: PRODUCT, interface: "Node")
  4468. @join__type(graph: CUSTOMER)
  4469. @join__type(graph: PRODUCT)
  4470. {
  4471. amount: MoneyV2!
  4472. completedAt: DateTime
  4473. dueAt: DateTime
  4474. id: ID!
  4475. issuedAt: DateTime
  4476. }
  4477. type PaymentScheduleConnection
  4478. @join__type(graph: CUSTOMER)
  4479. @join__type(graph: PRODUCT)
  4480. {
  4481. edges: [PaymentScheduleEdge!]!
  4482. nodes: [PaymentSchedule!]!
  4483. pageInfo: PageInfo!
  4484. }
  4485. type PaymentScheduleEdge
  4486. @join__type(graph: CUSTOMER)
  4487. @join__type(graph: PRODUCT)
  4488. {
  4489. cursor: String!
  4490. node: PaymentSchedule!
  4491. }
  4492. type PaymentSettings
  4493. @join__type(graph: CUSTOMER)
  4494. @join__type(graph: PRODUCT)
  4495. {
  4496. supportedDigitalWallets: [DigitalWallet!]!
  4497. }
  4498. type PaymentTerms implements Node
  4499. @join__implements(graph: CUSTOMER, interface: "Node")
  4500. @join__implements(graph: PRODUCT, interface: "Node")
  4501. @join__type(graph: CUSTOMER)
  4502. @join__type(graph: PRODUCT)
  4503. {
  4504. dueInDays: Int
  4505. id: ID!
  4506. overdue: Boolean!
  4507. paymentSchedules(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): PaymentScheduleConnection!
  4508. paymentTermsName: String!
  4509. paymentTermsType: PaymentTermsType!
  4510. translatedName: String!
  4511. }
  4512. type PaymentTermsTemplate implements Node
  4513. @join__implements(graph: CUSTOMER, interface: "Node")
  4514. @join__implements(graph: PRODUCT, interface: "Node")
  4515. @join__type(graph: CUSTOMER)
  4516. @join__type(graph: PRODUCT)
  4517. {
  4518. description: String!
  4519. dueInDays: Int
  4520. id: ID!
  4521. name: String!
  4522. paymentTermsType: PaymentTermsType!
  4523. translatedName: String!
  4524. }
  4525. enum PaymentTermsType
  4526. @join__type(graph: CUSTOMER)
  4527. @join__type(graph: PRODUCT)
  4528. {
  4529. RECEIPT
  4530. NET
  4531. FIXED
  4532. UNKNOWN
  4533. }
  4534. enum PaypalExpressSubscriptionsGatewayStatus
  4535. @join__type(graph: CUSTOMER)
  4536. @join__type(graph: PRODUCT)
  4537. {
  4538. ENABLED
  4539. DISABLED
  4540. PENDING
  4541. }
  4542. type PriceList implements Node
  4543. @join__implements(graph: CUSTOMER, interface: "Node")
  4544. @join__implements(graph: PRODUCT, interface: "Node")
  4545. @join__type(graph: CUSTOMER)
  4546. @join__type(graph: PRODUCT)
  4547. {
  4548. contextRule: PriceListContextRule
  4549. currency: CurrencyCode!
  4550. id: ID!
  4551. name: String!
  4552. parent: PriceListParent
  4553. prices(originType: PriceListPriceOriginType, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): PriceListPriceConnection!
  4554. }
  4555. type PriceListAdjustment
  4556. @join__type(graph: CUSTOMER)
  4557. @join__type(graph: PRODUCT)
  4558. {
  4559. type: PriceListAdjustmentType!
  4560. value: Float!
  4561. }
  4562. enum PriceListAdjustmentType
  4563. @join__type(graph: CUSTOMER)
  4564. @join__type(graph: PRODUCT)
  4565. {
  4566. PERCENTAGE_DECREASE
  4567. PERCENTAGE_INCREASE
  4568. }
  4569. type PriceListContextRule
  4570. @join__type(graph: CUSTOMER)
  4571. @join__type(graph: PRODUCT)
  4572. {
  4573. countries: [CountryCode!]!
  4574. market: Market
  4575. }
  4576. type PriceListParent
  4577. @join__type(graph: CUSTOMER)
  4578. @join__type(graph: PRODUCT)
  4579. {
  4580. adjustment: PriceListAdjustment!
  4581. }
  4582. type PriceListPrice
  4583. @join__type(graph: CUSTOMER)
  4584. @join__type(graph: PRODUCT)
  4585. {
  4586. compareAtPrice: MoneyV2
  4587. originType: PriceListPriceOriginType!
  4588. price: MoneyV2!
  4589. variant: ProductVariant!
  4590. }
  4591. type PriceListPriceConnection
  4592. @join__type(graph: CUSTOMER)
  4593. @join__type(graph: PRODUCT)
  4594. {
  4595. edges: [PriceListPriceEdge!]!
  4596. nodes: [PriceListPrice!]!
  4597. pageInfo: PageInfo!
  4598. }
  4599. type PriceListPriceEdge
  4600. @join__type(graph: CUSTOMER)
  4601. @join__type(graph: PRODUCT)
  4602. {
  4603. cursor: String!
  4604. node: PriceListPrice!
  4605. }
  4606. enum PriceListPriceOriginType
  4607. @join__type(graph: CUSTOMER)
  4608. @join__type(graph: PRODUCT)
  4609. {
  4610. FIXED
  4611. RELATIVE
  4612. }
  4613. type PricingPercentageValue
  4614. @join__type(graph: CUSTOMER)
  4615. @join__type(graph: PRODUCT)
  4616. {
  4617. percentage: Float!
  4618. }
  4619. union PricingValue
  4620. @join__type(graph: CUSTOMER)
  4621. @join__type(graph: PRODUCT)
  4622. = MoneyV2 | PricingPercentageValue
  4623. type PrivateMetafield implements Node
  4624. @join__implements(graph: CUSTOMER, interface: "Node")
  4625. @join__implements(graph: PRODUCT, interface: "Node")
  4626. @join__type(graph: CUSTOMER)
  4627. @join__type(graph: PRODUCT)
  4628. {
  4629. createdAt: DateTime!
  4630. id: ID!
  4631. key: String!
  4632. namespace: String!
  4633. updatedAt: DateTime!
  4634. value: String!
  4635. valueType: PrivateMetafieldValueType!
  4636. }
  4637. type PrivateMetafieldConnection
  4638. @join__type(graph: CUSTOMER)
  4639. @join__type(graph: PRODUCT)
  4640. {
  4641. edges: [PrivateMetafieldEdge!]!
  4642. nodes: [PrivateMetafield!]!
  4643. pageInfo: PageInfo!
  4644. }
  4645. type PrivateMetafieldEdge
  4646. @join__type(graph: CUSTOMER)
  4647. @join__type(graph: PRODUCT)
  4648. {
  4649. cursor: String!
  4650. node: PrivateMetafield!
  4651. }
  4652. input PrivateMetafieldInput
  4653. @join__type(graph: CUSTOMER)
  4654. @join__type(graph: PRODUCT)
  4655. {
  4656. owner: ID
  4657. namespace: String!
  4658. key: String!
  4659. valueInput: PrivateMetafieldValueInput!
  4660. }
  4661. input PrivateMetafieldValueInput
  4662. @join__type(graph: CUSTOMER)
  4663. @join__type(graph: PRODUCT)
  4664. {
  4665. value: String!
  4666. valueType: PrivateMetafieldValueType!
  4667. }
  4668. enum PrivateMetafieldValueType
  4669. @join__type(graph: CUSTOMER)
  4670. @join__type(graph: PRODUCT)
  4671. {
  4672. STRING
  4673. INTEGER
  4674. JSON_STRING
  4675. }
  4676. type Product implements HasMetafieldDefinitions & HasMetafields & HasPublishedTranslations & LegacyInteroperability & Navigable & Node & OnlineStorePreviewable & Publishable
  4677. @join__implements(graph: CUSTOMER, interface: "HasMetafieldDefinitions")
  4678. @join__implements(graph: CUSTOMER, interface: "HasMetafields")
  4679. @join__implements(graph: CUSTOMER, interface: "HasPublishedTranslations")
  4680. @join__implements(graph: CUSTOMER, interface: "LegacyInteroperability")
  4681. @join__implements(graph: CUSTOMER, interface: "Navigable")
  4682. @join__implements(graph: CUSTOMER, interface: "Node")
  4683. @join__implements(graph: CUSTOMER, interface: "OnlineStorePreviewable")
  4684. @join__implements(graph: CUSTOMER, interface: "Publishable")
  4685. @join__implements(graph: PRODUCT, interface: "HasMetafieldDefinitions")
  4686. @join__implements(graph: PRODUCT, interface: "HasMetafields")
  4687. @join__implements(graph: PRODUCT, interface: "HasPublishedTranslations")
  4688. @join__implements(graph: PRODUCT, interface: "LegacyInteroperability")
  4689. @join__implements(graph: PRODUCT, interface: "Navigable")
  4690. @join__implements(graph: PRODUCT, interface: "Node")
  4691. @join__implements(graph: PRODUCT, interface: "OnlineStorePreviewable")
  4692. @join__implements(graph: PRODUCT, interface: "Publishable")
  4693. @join__type(graph: CUSTOMER, key: "id")
  4694. @join__type(graph: PRODUCT, key: "id")
  4695. {
  4696. availablePublicationCount: Int!
  4697. collections(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: CollectionSortKeys = ID, query: String): CollectionConnection!
  4698. contextualPricing(context: ContextualPricingContext!): ProductContextualPricing!
  4699. createdAt: DateTime!
  4700. defaultCursor: String!
  4701. description(truncateAt: Int): String!
  4702. descriptionHtml: HTML!
  4703. featuredImage: Image
  4704. featuredMedia: Media
  4705. feedback: ResourceFeedback
  4706. giftCardTemplateSuffix: String
  4707. handle: String!
  4708. hasOnlyDefaultVariant: Boolean!
  4709. hasOutOfStockVariants: Boolean!
  4710. id: ID!
  4711. images(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: ProductImageSortKeys = POSITION): ImageConnection!
  4712. inCollection(id: ID!): Boolean!
  4713. isGiftCard: Boolean!
  4714. legacyResourceId: UnsignedInt64!
  4715. media(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: ProductMediaSortKeys = POSITION): MediaConnection!
  4716. mediaCount: Int!
  4717. metafield(namespace: String!, key: String!): Metafield
  4718. metafieldDefinitions(namespace: String, pinnedStatus: MetafieldDefinitionPinnedStatus = ANY, first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: MetafieldDefinitionSortKeys = ID, query: String): MetafieldDefinitionConnection!
  4719. metafields(namespace: String, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): MetafieldConnection!
  4720. onlineStorePreviewUrl: URL
  4721. onlineStoreUrl: URL
  4722. options(first: Int): [ProductOption!]!
  4723. priceRangeV2: ProductPriceRangeV2!
  4724. privateMetafield(namespace: String!, key: String!): PrivateMetafield
  4725. privateMetafields(namespace: String, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): PrivateMetafieldConnection!
  4726. productCategory: ProductCategory
  4727. productType: String!
  4728. publicationCount(onlyPublished: Boolean = true): Int!
  4729. publishedAt: DateTime
  4730. publishedOnCurrentPublication: Boolean!
  4731. publishedOnPublication(publicationId: ID!): Boolean!
  4732. requiresSellingPlan: Boolean!
  4733. resourcePublicationOnCurrentPublication: ResourcePublicationV2
  4734. resourcePublications(onlyPublished: Boolean = true, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): ResourcePublicationConnection!
  4735. resourcePublicationsV2(onlyPublished: Boolean = true, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): ResourcePublicationV2Connection!
  4736. sellingPlanGroupCount: Int!
  4737. sellingPlanGroups(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): SellingPlanGroupConnection!
  4738. seo: SEO!
  4739. status: ProductStatus!
  4740. tags: [String!]!
  4741. templateSuffix: String
  4742. title: String!
  4743. totalInventory: Int!
  4744. totalVariants: Int!
  4745. tracksInventory: Boolean!
  4746. translations(locale: String!, marketId: ID): [PublishedTranslation!]!
  4747. unpublishedPublications(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): PublicationConnection!
  4748. updatedAt: DateTime!
  4749. variants(first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: ProductVariantSortKeys = POSITION): ProductVariantConnection!
  4750. vendor: String!
  4751. }
  4752. input ProductAppendImagesInput
  4753. @join__type(graph: PRODUCT)
  4754. {
  4755. id: ID!
  4756. images: [ImageInput!]!
  4757. }
  4758. type ProductAppendImagesPayload
  4759. @join__type(graph: PRODUCT)
  4760. {
  4761. newImages: [Image!]
  4762. product: Product
  4763. userErrors: [UserError!]!
  4764. }
  4765. type ProductCategory
  4766. @join__type(graph: CUSTOMER)
  4767. @join__type(graph: PRODUCT)
  4768. {
  4769. productTaxonomyNode: ProductTaxonomyNode
  4770. }
  4771. input ProductCategoryInput
  4772. @join__type(graph: PRODUCT)
  4773. {
  4774. productTaxonomyNodeId: ID!
  4775. }
  4776. type ProductChangeStatusPayload
  4777. @join__type(graph: PRODUCT)
  4778. {
  4779. product: Product
  4780. userErrors: [ProductChangeStatusUserError!]!
  4781. }
  4782. type ProductChangeStatusUserError implements DisplayableError
  4783. @join__implements(graph: CUSTOMER, interface: "DisplayableError")
  4784. @join__implements(graph: PRODUCT, interface: "DisplayableError")
  4785. @join__type(graph: CUSTOMER)
  4786. @join__type(graph: PRODUCT)
  4787. {
  4788. code: ProductChangeStatusUserErrorCode
  4789. field: [String!]
  4790. message: String!
  4791. }
  4792. enum ProductChangeStatusUserErrorCode
  4793. @join__type(graph: CUSTOMER)
  4794. @join__type(graph: PRODUCT)
  4795. {
  4796. PRODUCT_NOT_FOUND
  4797. }
  4798. enum ProductCollectionSortKeys
  4799. @join__type(graph: CUSTOMER)
  4800. @join__type(graph: PRODUCT)
  4801. {
  4802. TITLE
  4803. PRICE
  4804. BEST_SELLING
  4805. CREATED
  4806. ID
  4807. MANUAL
  4808. COLLECTION_DEFAULT
  4809. RELEVANCE
  4810. }
  4811. type ProductConnection
  4812. @join__type(graph: CUSTOMER)
  4813. @join__type(graph: PRODUCT)
  4814. {
  4815. edges: [ProductEdge!]!
  4816. nodes: [Product!]!
  4817. pageInfo: PageInfo!
  4818. }
  4819. type ProductContextualPricing
  4820. @join__type(graph: CUSTOMER)
  4821. @join__type(graph: PRODUCT)
  4822. {
  4823. maxVariantPricing: ProductVariantContextualPricing
  4824. minVariantPricing: ProductVariantContextualPricing
  4825. priceRange: ProductPriceRangeV2!
  4826. }
  4827. type ProductCreateMediaPayload
  4828. @join__type(graph: PRODUCT)
  4829. {
  4830. media: [Media!]
  4831. mediaUserErrors: [MediaUserError!]!
  4832. product: Product
  4833. }
  4834. type ProductCreatePayload
  4835. @join__type(graph: PRODUCT)
  4836. {
  4837. product: Product
  4838. shop: Shop!
  4839. userErrors: [UserError!]!
  4840. }
  4841. type ProductDeleteImagesPayload
  4842. @join__type(graph: PRODUCT)
  4843. {
  4844. deletedImageIds: [ID!]!
  4845. product: Product
  4846. userErrors: [UserError!]!
  4847. }
  4848. input ProductDeleteInput
  4849. @join__type(graph: PRODUCT)
  4850. {
  4851. id: ID!
  4852. }
  4853. type ProductDeleteMediaPayload
  4854. @join__type(graph: PRODUCT)
  4855. {
  4856. deletedMediaIds: [ID!]
  4857. deletedProductImageIds: [ID!]
  4858. mediaUserErrors: [MediaUserError!]!
  4859. product: Product
  4860. }
  4861. type ProductDeletePayload
  4862. @join__type(graph: PRODUCT)
  4863. {
  4864. deletedProductId: ID
  4865. shop: Shop!
  4866. userErrors: [UserError!]!
  4867. }
  4868. type ProductDuplicatePayload
  4869. @join__type(graph: PRODUCT)
  4870. {
  4871. imageJob: Job
  4872. newProduct: Product
  4873. shop: Shop!
  4874. userErrors: [UserError!]!
  4875. }
  4876. type ProductEdge
  4877. @join__type(graph: CUSTOMER)
  4878. @join__type(graph: PRODUCT)
  4879. {
  4880. cursor: String!
  4881. node: Product!
  4882. }
  4883. enum ProductImageSortKeys
  4884. @join__type(graph: CUSTOMER)
  4885. @join__type(graph: PRODUCT)
  4886. {
  4887. CREATED_AT
  4888. POSITION
  4889. ID
  4890. RELEVANCE
  4891. }
  4892. type ProductImageUpdatePayload
  4893. @join__type(graph: PRODUCT)
  4894. {
  4895. image: Image
  4896. userErrors: [UserError!]!
  4897. }
  4898. input ProductInput
  4899. @join__type(graph: PRODUCT)
  4900. {
  4901. descriptionHtml: String
  4902. redirectNewHandle: Boolean
  4903. handle: String
  4904. seo: SEOInput
  4905. productType: String
  4906. standardizedProductType: StandardizedProductTypeInput
  4907. productCategory: ProductCategoryInput
  4908. customProductType: String
  4909. tags: [String!]
  4910. templateSuffix: String
  4911. giftCard: Boolean
  4912. giftCardTemplateSuffix: String
  4913. title: String
  4914. vendor: String
  4915. collectionsToJoin: [ID!]
  4916. collectionsToLeave: [ID!]
  4917. id: ID
  4918. images: [ImageInput!]
  4919. metafields: [MetafieldInput!]
  4920. privateMetafields: [PrivateMetafieldInput!]
  4921. options: [String!]
  4922. variants: [ProductVariantInput!]
  4923. status: ProductStatus
  4924. requiresSellingPlan: Boolean
  4925. }
  4926. type ProductJoinSellingPlanGroupsPayload
  4927. @join__type(graph: PRODUCT)
  4928. {
  4929. product: Product
  4930. userErrors: [SellingPlanGroupUserError!]!
  4931. }
  4932. type ProductLeaveSellingPlanGroupsPayload
  4933. @join__type(graph: PRODUCT)
  4934. {
  4935. product: Product
  4936. userErrors: [SellingPlanGroupUserError!]!
  4937. }
  4938. enum ProductMediaSortKeys
  4939. @join__type(graph: CUSTOMER)
  4940. @join__type(graph: PRODUCT)
  4941. {
  4942. POSITION
  4943. ID
  4944. RELEVANCE
  4945. }
  4946. type ProductOption implements HasPublishedTranslations & Node
  4947. @join__implements(graph: CUSTOMER, interface: "HasPublishedTranslations")
  4948. @join__implements(graph: CUSTOMER, interface: "Node")
  4949. @join__implements(graph: PRODUCT, interface: "HasPublishedTranslations")
  4950. @join__implements(graph: PRODUCT, interface: "Node")
  4951. @join__type(graph: CUSTOMER)
  4952. @join__type(graph: PRODUCT)
  4953. {
  4954. id: ID!
  4955. name: String!
  4956. position: Int!
  4957. translations(locale: String!, marketId: ID): [PublishedTranslation!]!
  4958. values: [String!]!
  4959. }
  4960. type ProductPriceRangeV2
  4961. @join__type(graph: CUSTOMER)
  4962. @join__type(graph: PRODUCT)
  4963. {
  4964. maxVariantPrice: MoneyV2!
  4965. minVariantPrice: MoneyV2!
  4966. }
  4967. type ProductReorderImagesPayload
  4968. @join__type(graph: PRODUCT)
  4969. {
  4970. job: Job
  4971. userErrors: [UserError!]!
  4972. }
  4973. type ProductReorderMediaPayload
  4974. @join__type(graph: PRODUCT)
  4975. {
  4976. job: Job
  4977. mediaUserErrors: [MediaUserError!]!
  4978. }
  4979. type ProductResourceFeedback
  4980. @join__type(graph: PRODUCT)
  4981. {
  4982. feedbackGeneratedAt: DateTime!
  4983. messages: [String!]!
  4984. productId: ID!
  4985. productUpdatedAt: DateTime!
  4986. state: ResourceFeedbackState!
  4987. }
  4988. enum ProductSortKeys
  4989. @join__type(graph: CUSTOMER)
  4990. @join__type(graph: PRODUCT)
  4991. {
  4992. TITLE
  4993. PRODUCT_TYPE
  4994. VENDOR
  4995. INVENTORY_TOTAL
  4996. UPDATED_AT
  4997. CREATED_AT
  4998. PUBLISHED_AT
  4999. ID
  5000. RELEVANCE
  5001. }
  5002. enum ProductStatus
  5003. @join__type(graph: CUSTOMER)
  5004. @join__type(graph: PRODUCT)
  5005. {
  5006. ACTIVE
  5007. ARCHIVED
  5008. DRAFT
  5009. }
  5010. type ProductTaxonomyNode implements Node
  5011. @join__implements(graph: CUSTOMER, interface: "Node")
  5012. @join__implements(graph: PRODUCT, interface: "Node")
  5013. @join__type(graph: CUSTOMER)
  5014. @join__type(graph: PRODUCT)
  5015. {
  5016. fullName: String!
  5017. id: ID!
  5018. isLeaf: Boolean!
  5019. isRoot: Boolean!
  5020. name: String!
  5021. }
  5022. type ProductUpdateMediaPayload
  5023. @join__type(graph: PRODUCT)
  5024. {
  5025. media: [Media!]
  5026. mediaUserErrors: [MediaUserError!]!
  5027. product: Product
  5028. }
  5029. type ProductUpdatePayload
  5030. @join__type(graph: PRODUCT)
  5031. {
  5032. product: Product
  5033. userErrors: [UserError!]!
  5034. }
  5035. type ProductVariant implements HasMetafieldDefinitions & HasMetafields & HasPublishedTranslations & LegacyInteroperability & Navigable & Node
  5036. @join__implements(graph: CUSTOMER, interface: "HasMetafieldDefinitions")
  5037. @join__implements(graph: CUSTOMER, interface: "HasMetafields")
  5038. @join__implements(graph: CUSTOMER, interface: "HasPublishedTranslations")
  5039. @join__implements(graph: CUSTOMER, interface: "LegacyInteroperability")
  5040. @join__implements(graph: CUSTOMER, interface: "Navigable")
  5041. @join__implements(graph: CUSTOMER, interface: "Node")
  5042. @join__implements(graph: PRODUCT, interface: "HasMetafieldDefinitions")
  5043. @join__implements(graph: PRODUCT, interface: "HasMetafields")
  5044. @join__implements(graph: PRODUCT, interface: "HasPublishedTranslations")
  5045. @join__implements(graph: PRODUCT, interface: "LegacyInteroperability")
  5046. @join__implements(graph: PRODUCT, interface: "Navigable")
  5047. @join__implements(graph: PRODUCT, interface: "Node")
  5048. @join__type(graph: CUSTOMER)
  5049. @join__type(graph: PRODUCT)
  5050. {
  5051. availableForSale: Boolean!
  5052. barcode: String
  5053. compareAtPrice: Money
  5054. contextualPricing(context: ContextualPricingContext!): ProductVariantContextualPricing!
  5055. createdAt: DateTime!
  5056. defaultCursor: String!
  5057. deliveryProfile: DeliveryProfile
  5058. displayName: String!
  5059. fulfillmentServiceEditable: EditableProperty!
  5060. id: ID!
  5061. image: Image
  5062. inventoryItem: InventoryItem!
  5063. inventoryPolicy: ProductVariantInventoryPolicy!
  5064. inventoryQuantity: Int
  5065. legacyResourceId: UnsignedInt64!
  5066. media(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): MediaConnection!
  5067. metafield(namespace: String!, key: String!): Metafield
  5068. metafieldDefinitions(namespace: String, pinnedStatus: MetafieldDefinitionPinnedStatus = ANY, first: Int, after: String, last: Int, before: String, reverse: Boolean = false, sortKey: MetafieldDefinitionSortKeys = ID, query: String): MetafieldDefinitionConnection!
  5069. metafields(namespace: String, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): MetafieldConnection!
  5070. position: Int!
  5071. price: Money!
  5072. privateMetafield(namespace: String!, key: String!): PrivateMetafield
  5073. privateMetafields(namespace: String, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): PrivateMetafieldConnection!
  5074. product: Product!
  5075. selectedOptions: [SelectedOption!]!
  5076. sellableOnlineQuantity: Int!
  5077. sellingPlanGroupCount: Int!
  5078. sellingPlanGroups(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): SellingPlanGroupConnection!
  5079. sku: String
  5080. taxCode: String
  5081. taxable: Boolean!
  5082. title: String!
  5083. translations(locale: String!, marketId: ID): [PublishedTranslation!]!
  5084. updatedAt: DateTime!
  5085. weight: Float
  5086. weightUnit: WeightUnit!
  5087. }
  5088. input ProductVariantAppendMediaInput
  5089. @join__type(graph: PRODUCT)
  5090. {
  5091. variantId: ID!
  5092. mediaIds: [ID!]!
  5093. }
  5094. type ProductVariantAppendMediaPayload
  5095. @join__type(graph: PRODUCT)
  5096. {
  5097. product: Product
  5098. productVariants: [ProductVariant!]
  5099. userErrors: [MediaUserError!]!
  5100. }
  5101. type ProductVariantConnection
  5102. @join__type(graph: CUSTOMER)
  5103. @join__type(graph: PRODUCT)
  5104. {
  5105. edges: [ProductVariantEdge!]!
  5106. nodes: [ProductVariant!]!
  5107. pageInfo: PageInfo!
  5108. }
  5109. type ProductVariantContextualPricing
  5110. @join__type(graph: CUSTOMER)
  5111. @join__type(graph: PRODUCT)
  5112. {
  5113. compareAtPrice: MoneyV2
  5114. price: MoneyV2!
  5115. }
  5116. type ProductVariantCreatePayload
  5117. @join__type(graph: PRODUCT)
  5118. {
  5119. product: Product
  5120. productVariant: ProductVariant
  5121. userErrors: [UserError!]!
  5122. }
  5123. type ProductVariantDeletePayload
  5124. @join__type(graph: PRODUCT)
  5125. {
  5126. deletedProductVariantId: ID
  5127. product: Product
  5128. userErrors: [UserError!]!
  5129. }
  5130. input ProductVariantDetachMediaInput
  5131. @join__type(graph: PRODUCT)
  5132. {
  5133. variantId: ID!
  5134. mediaIds: [ID!]!
  5135. }
  5136. type ProductVariantDetachMediaPayload
  5137. @join__type(graph: PRODUCT)
  5138. {
  5139. product: Product
  5140. productVariants: [ProductVariant!]
  5141. userErrors: [MediaUserError!]!
  5142. }
  5143. type ProductVariantEdge
  5144. @join__type(graph: CUSTOMER)
  5145. @join__type(graph: PRODUCT)
  5146. {
  5147. cursor: String!
  5148. node: ProductVariant!
  5149. }
  5150. input ProductVariantInput
  5151. @join__type(graph: PRODUCT)
  5152. {
  5153. barcode: String
  5154. compareAtPrice: Money
  5155. harmonizedSystemCode: String
  5156. id: ID
  5157. imageId: ID
  5158. imageSrc: String
  5159. mediaSrc: [String!]
  5160. inventoryPolicy: ProductVariantInventoryPolicy
  5161. inventoryQuantities: [InventoryLevelInput!]
  5162. inventoryItem: InventoryItemInput
  5163. metafields: [MetafieldInput!]
  5164. privateMetafields: [PrivateMetafieldInput!]
  5165. options: [String!]
  5166. position: Int
  5167. price: Money
  5168. productId: ID
  5169. requiresShipping: Boolean
  5170. sku: String
  5171. taxable: Boolean
  5172. taxCode: String
  5173. weight: Float
  5174. weightUnit: WeightUnit
  5175. }
  5176. enum ProductVariantInventoryPolicy
  5177. @join__type(graph: CUSTOMER)
  5178. @join__type(graph: PRODUCT)
  5179. {
  5180. DENY
  5181. CONTINUE
  5182. }
  5183. type ProductVariantJoinSellingPlanGroupsPayload
  5184. @join__type(graph: PRODUCT)
  5185. {
  5186. productVariant: ProductVariant
  5187. userErrors: [SellingPlanGroupUserError!]!
  5188. }
  5189. type ProductVariantLeaveSellingPlanGroupsPayload
  5190. @join__type(graph: PRODUCT)
  5191. {
  5192. productVariant: ProductVariant
  5193. userErrors: [SellingPlanGroupUserError!]!
  5194. }
  5195. input ProductVariantPositionInput
  5196. @join__type(graph: PRODUCT)
  5197. {
  5198. id: ID!
  5199. position: Int!
  5200. }
  5201. type ProductVariantsBulkCreatePayload
  5202. @join__type(graph: PRODUCT)
  5203. {
  5204. product: Product
  5205. productVariants: [ProductVariant!]
  5206. userErrors: [ProductVariantsBulkCreateUserError!]!
  5207. }
  5208. type ProductVariantsBulkCreateUserError implements DisplayableError
  5209. @join__implements(graph: CUSTOMER, interface: "DisplayableError")
  5210. @join__implements(graph: PRODUCT, interface: "DisplayableError")
  5211. @join__type(graph: CUSTOMER)
  5212. @join__type(graph: PRODUCT)
  5213. {
  5214. code: ProductVariantsBulkCreateUserErrorCode
  5215. field: [String!]
  5216. message: String!
  5217. }
  5218. enum ProductVariantsBulkCreateUserErrorCode
  5219. @join__type(graph: CUSTOMER)
  5220. @join__type(graph: PRODUCT)
  5221. {
  5222. PRODUCT_DOES_NOT_EXIST
  5223. NO_KEY_ON_CREATE
  5224. VARIANT_ALREADY_EXISTS
  5225. GREATER_THAN_OR_EQUAL_TO
  5226. NEED_TO_ADD_OPTION_VALUES
  5227. OPTION_VALUES_FOR_NUMBER_OF_UNKNOWN_OPTIONS
  5228. TOO_MANY_INVENTORY_LOCATIONS
  5229. SUBSCRIPTION_VIOLATION
  5230. VARIANT_ALREADY_EXISTS_CHANGE_OPTION_VALUE
  5231. TRACKED_VARIANT_LOCATION_NOT_FOUND
  5232. MUST_BE_FOR_THIS_PRODUCT
  5233. NOT_DEFINED_FOR_SHOP
  5234. INVALID
  5235. NEGATIVE_PRICE_VALUE
  5236. }
  5237. type ProductVariantsBulkDeletePayload
  5238. @join__type(graph: PRODUCT)
  5239. {
  5240. product: Product
  5241. userErrors: [ProductVariantsBulkDeleteUserError!]!
  5242. }
  5243. type ProductVariantsBulkDeleteUserError implements DisplayableError
  5244. @join__implements(graph: CUSTOMER, interface: "DisplayableError")
  5245. @join__implements(graph: PRODUCT, interface: "DisplayableError")
  5246. @join__type(graph: CUSTOMER)
  5247. @join__type(graph: PRODUCT)
  5248. {
  5249. code: ProductVariantsBulkDeleteUserErrorCode
  5250. field: [String!]
  5251. message: String!
  5252. }
  5253. enum ProductVariantsBulkDeleteUserErrorCode
  5254. @join__type(graph: CUSTOMER)
  5255. @join__type(graph: PRODUCT)
  5256. {
  5257. PRODUCT_DOES_NOT_EXIST
  5258. CANNOT_DELETE_LAST_VARIANT
  5259. AT_LEAST_ONE_VARIANT_DOES_NOT_BELONG_TO_THE_PRODUCT
  5260. }
  5261. input ProductVariantsBulkInput
  5262. @join__type(graph: PRODUCT)
  5263. {
  5264. barcode: String
  5265. compareAtPrice: Money
  5266. harmonizedSystemCode: String
  5267. id: ID
  5268. imageId: ID
  5269. imageSrc: String
  5270. mediaSrc: [String!]
  5271. inventoryPolicy: ProductVariantInventoryPolicy
  5272. inventoryQuantities: [InventoryLevelInput!]
  5273. inventoryItem: InventoryItemInput
  5274. metafields: [MetafieldInput!]
  5275. privateMetafields: [PrivateMetafieldInput!]
  5276. options: [String!]
  5277. price: Money
  5278. requiresShipping: Boolean
  5279. sku: String
  5280. taxable: Boolean
  5281. taxCode: String
  5282. weight: Float
  5283. weightUnit: WeightUnit
  5284. }
  5285. type ProductVariantsBulkReorderPayload
  5286. @join__type(graph: PRODUCT)
  5287. {
  5288. product: Product
  5289. userErrors: [ProductVariantsBulkReorderUserError!]!
  5290. }
  5291. type ProductVariantsBulkReorderUserError implements DisplayableError
  5292. @join__implements(graph: CUSTOMER, interface: "DisplayableError")
  5293. @join__implements(graph: PRODUCT, interface: "DisplayableError")
  5294. @join__type(graph: CUSTOMER)
  5295. @join__type(graph: PRODUCT)
  5296. {
  5297. code: ProductVariantsBulkReorderUserErrorCode
  5298. field: [String!]
  5299. message: String!
  5300. }
  5301. enum ProductVariantsBulkReorderUserErrorCode
  5302. @join__type(graph: CUSTOMER)
  5303. @join__type(graph: PRODUCT)
  5304. {
  5305. PRODUCT_DOES_NOT_EXIST
  5306. MISSING_VARIANT
  5307. INVALID_POSITION
  5308. DUPLICATED_VARIANT_ID
  5309. }
  5310. type ProductVariantsBulkUpdatePayload
  5311. @join__type(graph: PRODUCT)
  5312. {
  5313. product: Product
  5314. productVariants: [ProductVariant!]
  5315. userErrors: [ProductVariantsBulkUpdateUserError!]!
  5316. }
  5317. type ProductVariantsBulkUpdateUserError implements DisplayableError
  5318. @join__implements(graph: CUSTOMER, interface: "DisplayableError")
  5319. @join__implements(graph: PRODUCT, interface: "DisplayableError")
  5320. @join__type(graph: CUSTOMER)
  5321. @join__type(graph: PRODUCT)
  5322. {
  5323. code: ProductVariantsBulkUpdateUserErrorCode
  5324. field: [String!]
  5325. message: String!
  5326. }
  5327. enum ProductVariantsBulkUpdateUserErrorCode
  5328. @join__type(graph: CUSTOMER)
  5329. @join__type(graph: PRODUCT)
  5330. {
  5331. PRODUCT_DOES_NOT_EXIST
  5332. PRODUCT_VARIANT_ID_MISSING
  5333. PRODUCT_VARIANT_DOES_NOT_EXIST
  5334. NO_INVENTORY_QUANTITIES_ON_VARIANTS_UPDATE
  5335. VARIANT_ALREADY_EXISTS
  5336. GREATER_THAN_OR_EQUAL_TO
  5337. NEED_TO_ADD_OPTION_VALUES
  5338. OPTION_VALUES_FOR_NUMBER_OF_UNKNOWN_OPTIONS
  5339. SUBSCRIPTION_VIOLATION
  5340. NO_INVENTORY_QUANTITES_DURING_UPDATE
  5341. NEGATIVE_PRICE_VALUE
  5342. }
  5343. enum ProductVariantSortKeys
  5344. @join__type(graph: CUSTOMER)
  5345. @join__type(graph: PRODUCT)
  5346. {
  5347. TITLE
  5348. NAME
  5349. SKU
  5350. INVENTORY_QUANTITY
  5351. INVENTORY_MANAGEMENT
  5352. INVENTORY_LEVELS_AVAILABLE
  5353. INVENTORY_POLICY
  5354. FULL_TITLE
  5355. POPULAR
  5356. POSITION
  5357. ID
  5358. RELEVANCE
  5359. }
  5360. type ProductVariantUpdatePayload
  5361. @join__type(graph: PRODUCT)
  5362. {
  5363. product: Product
  5364. productVariant: ProductVariant
  5365. userErrors: [UserError!]!
  5366. }
  5367. type Publication implements Node
  5368. @join__implements(graph: CUSTOMER, interface: "Node")
  5369. @join__implements(graph: PRODUCT, interface: "Node")
  5370. @join__type(graph: CUSTOMER)
  5371. @join__type(graph: PRODUCT)
  5372. {
  5373. app: App!
  5374. collectionPublicationsV3(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): ResourcePublicationConnection!
  5375. collections(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): CollectionConnection!
  5376. hasCollection(id: ID!): Boolean!
  5377. id: ID!
  5378. name: String!
  5379. productPublicationsV3(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): ResourcePublicationConnection!
  5380. products(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): ProductConnection!
  5381. supportsFuturePublishing: Boolean!
  5382. }
  5383. type PublicationConnection
  5384. @join__type(graph: CUSTOMER)
  5385. @join__type(graph: PRODUCT)
  5386. {
  5387. edges: [PublicationEdge!]!
  5388. nodes: [Publication!]!
  5389. pageInfo: PageInfo!
  5390. }
  5391. type PublicationEdge
  5392. @join__type(graph: CUSTOMER)
  5393. @join__type(graph: PRODUCT)
  5394. {
  5395. cursor: String!
  5396. node: Publication!
  5397. }
  5398. interface Publishable
  5399. @join__type(graph: CUSTOMER)
  5400. @join__type(graph: PRODUCT)
  5401. {
  5402. availablePublicationCount: Int!
  5403. publicationCount(onlyPublished: Boolean = true): Int!
  5404. publishedOnCurrentPublication: Boolean!
  5405. publishedOnPublication(publicationId: ID!): Boolean!
  5406. resourcePublications(onlyPublished: Boolean = true, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): ResourcePublicationConnection!
  5407. resourcePublicationsV2(onlyPublished: Boolean = true, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): ResourcePublicationV2Connection!
  5408. unpublishedPublications(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): PublicationConnection!
  5409. }
  5410. type PublishedTranslation
  5411. @join__type(graph: CUSTOMER)
  5412. @join__type(graph: PRODUCT)
  5413. {
  5414. key: String!
  5415. locale: String!
  5416. marketId: ID
  5417. value: String
  5418. }
  5419. type PurchasingCompany
  5420. @join__type(graph: CUSTOMER)
  5421. @join__type(graph: PRODUCT)
  5422. {
  5423. company: Company!
  5424. contact: CompanyContact
  5425. location: CompanyLocation!
  5426. }
  5427. union PurchasingEntity
  5428. @join__type(graph: CUSTOMER)
  5429. @join__type(graph: PRODUCT)
  5430. = Customer | PurchasingCompany
  5431. type Query
  5432. @inContext
  5433. @join__type(graph: CUSTOMER)
  5434. @join__type(graph: PRODUCT)
  5435. {
  5436. customer(id: ID!): Customer @join__field(graph: CUSTOMER)
  5437. product(id: ID!): Product @join__field(graph: PRODUCT)
  5438. productByHandle(handle: String!): Product @join__field(graph: PRODUCT)
  5439. productResourceFeedback(id: ID!): ProductResourceFeedback @join__field(graph: PRODUCT)
  5440. productSavedSearches(after: String, before: String, first: Int, last: Int, reverse: Boolean = false): SavedSearchConnection! @join__field(graph: PRODUCT)
  5441. productVariant(id: ID!): ProductVariant @join__field(graph: PRODUCT)
  5442. productVariants(after: String, before: String, first: Int, last: Int, query: String, reverse: Boolean = false, savedSearchId: ID, sortKey: ProductVariantSortKeys = ID): ProductVariantConnection! @join__field(graph: PRODUCT)
  5443. products(after: String, before: String, first: Int, last: Int, query: String, reverse: Boolean = false, savedSearchId: ID, sortKey: ProductSortKeys = ID): ProductConnection! @join__field(graph: PRODUCT)
  5444. }
  5445. type Refund implements LegacyInteroperability & Node
  5446. @join__implements(graph: CUSTOMER, interface: "LegacyInteroperability")
  5447. @join__implements(graph: CUSTOMER, interface: "Node")
  5448. @join__implements(graph: PRODUCT, interface: "LegacyInteroperability")
  5449. @join__implements(graph: PRODUCT, interface: "Node")
  5450. @join__type(graph: CUSTOMER)
  5451. @join__type(graph: PRODUCT)
  5452. {
  5453. createdAt: DateTime
  5454. duties: [RefundDuty!]
  5455. id: ID!
  5456. legacyResourceId: UnsignedInt64!
  5457. note: String
  5458. order: Order!
  5459. refundLineItems(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): RefundLineItemConnection!
  5460. staffMember: StaffMember
  5461. totalRefundedSet: MoneyBag!
  5462. transactions(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): OrderTransactionConnection!
  5463. updatedAt: DateTime!
  5464. }
  5465. type RefundDuty
  5466. @join__type(graph: CUSTOMER)
  5467. @join__type(graph: PRODUCT)
  5468. {
  5469. amountSet: MoneyBag!
  5470. originalDuty: Duty
  5471. }
  5472. input RefundDutyInput
  5473. @join__type(graph: CUSTOMER)
  5474. @join__type(graph: PRODUCT)
  5475. {
  5476. dutyId: ID!
  5477. refundType: RefundDutyRefundType
  5478. }
  5479. enum RefundDutyRefundType
  5480. @join__type(graph: CUSTOMER)
  5481. @join__type(graph: PRODUCT)
  5482. {
  5483. PROPORTIONAL
  5484. FULL
  5485. }
  5486. type RefundLineItem
  5487. @join__type(graph: CUSTOMER)
  5488. @join__type(graph: PRODUCT)
  5489. {
  5490. lineItem: LineItem!
  5491. location: Location
  5492. priceSet: MoneyBag!
  5493. quantity: Int!
  5494. restockType: RefundLineItemRestockType!
  5495. restocked: Boolean!
  5496. subtotalSet: MoneyBag!
  5497. totalTaxSet: MoneyBag!
  5498. }
  5499. type RefundLineItemConnection
  5500. @join__type(graph: CUSTOMER)
  5501. @join__type(graph: PRODUCT)
  5502. {
  5503. edges: [RefundLineItemEdge!]!
  5504. nodes: [RefundLineItem!]!
  5505. pageInfo: PageInfo!
  5506. }
  5507. type RefundLineItemEdge
  5508. @join__type(graph: CUSTOMER)
  5509. @join__type(graph: PRODUCT)
  5510. {
  5511. cursor: String!
  5512. node: RefundLineItem!
  5513. }
  5514. input RefundLineItemInput
  5515. @join__type(graph: CUSTOMER)
  5516. @join__type(graph: PRODUCT)
  5517. {
  5518. lineItemId: ID!
  5519. quantity: Int!
  5520. restockType: RefundLineItemRestockType
  5521. locationId: ID
  5522. }
  5523. enum RefundLineItemRestockType
  5524. @join__type(graph: CUSTOMER)
  5525. @join__type(graph: PRODUCT)
  5526. {
  5527. RETURN
  5528. CANCEL
  5529. LEGACY_RESTOCK
  5530. NO_RESTOCK
  5531. }
  5532. type ResourceAlert
  5533. @join__type(graph: CUSTOMER)
  5534. @join__type(graph: PRODUCT)
  5535. {
  5536. actions: [ResourceAlertAction!]!
  5537. content: HTML!
  5538. dismissibleHandle: String
  5539. icon: ResourceAlertIcon
  5540. severity: ResourceAlertSeverity!
  5541. title: String!
  5542. }
  5543. type ResourceAlertAction
  5544. @join__type(graph: CUSTOMER)
  5545. @join__type(graph: PRODUCT)
  5546. {
  5547. primary: Boolean!
  5548. show: String
  5549. title: String!
  5550. url: URL!
  5551. }
  5552. enum ResourceAlertIcon
  5553. @join__type(graph: CUSTOMER)
  5554. @join__type(graph: PRODUCT)
  5555. {
  5556. CHECKMARK_CIRCLE
  5557. INFORMATION_CIRCLE
  5558. }
  5559. enum ResourceAlertSeverity
  5560. @join__type(graph: CUSTOMER)
  5561. @join__type(graph: PRODUCT)
  5562. {
  5563. DEFAULT
  5564. INFO
  5565. WARNING
  5566. SUCCESS
  5567. CRITICAL
  5568. }
  5569. type ResourceFeedback
  5570. @join__type(graph: CUSTOMER)
  5571. @join__type(graph: PRODUCT)
  5572. {
  5573. details: [AppFeedback!]!
  5574. summary: String!
  5575. }
  5576. enum ResourceFeedbackState
  5577. @join__type(graph: CUSTOMER)
  5578. @join__type(graph: PRODUCT)
  5579. {
  5580. ACCEPTED
  5581. REQUIRES_ACTION
  5582. }
  5583. type ResourceLimit
  5584. @join__type(graph: CUSTOMER)
  5585. @join__type(graph: PRODUCT)
  5586. {
  5587. available: Boolean!
  5588. quantityAvailable: Int
  5589. quantityLimit: Int
  5590. quantityUsed: Int
  5591. }
  5592. type ResourcePublication
  5593. @join__type(graph: CUSTOMER)
  5594. @join__type(graph: PRODUCT)
  5595. {
  5596. isPublished: Boolean!
  5597. publication: Publication!
  5598. publishDate: DateTime!
  5599. publishable: Publishable!
  5600. }
  5601. type ResourcePublicationConnection
  5602. @join__type(graph: CUSTOMER)
  5603. @join__type(graph: PRODUCT)
  5604. {
  5605. edges: [ResourcePublicationEdge!]!
  5606. nodes: [ResourcePublication!]!
  5607. pageInfo: PageInfo!
  5608. }
  5609. type ResourcePublicationEdge
  5610. @join__type(graph: CUSTOMER)
  5611. @join__type(graph: PRODUCT)
  5612. {
  5613. cursor: String!
  5614. node: ResourcePublication!
  5615. }
  5616. type ResourcePublicationV2
  5617. @join__type(graph: CUSTOMER)
  5618. @join__type(graph: PRODUCT)
  5619. {
  5620. isPublished: Boolean!
  5621. publication: Publication!
  5622. publishDate: DateTime
  5623. publishable: Publishable!
  5624. }
  5625. type ResourcePublicationV2Connection
  5626. @join__type(graph: CUSTOMER)
  5627. @join__type(graph: PRODUCT)
  5628. {
  5629. edges: [ResourcePublicationV2Edge!]!
  5630. nodes: [ResourcePublicationV2!]!
  5631. pageInfo: PageInfo!
  5632. }
  5633. type ResourcePublicationV2Edge
  5634. @join__type(graph: CUSTOMER)
  5635. @join__type(graph: PRODUCT)
  5636. {
  5637. cursor: String!
  5638. node: ResourcePublicationV2!
  5639. }
  5640. interface Sale
  5641. @join__type(graph: CUSTOMER)
  5642. @join__type(graph: PRODUCT)
  5643. {
  5644. actionType: SaleActionType!
  5645. id: ID!
  5646. lineType: SaleLineType!
  5647. quantity: Int
  5648. taxes: [SaleTax!]!
  5649. totalAmount: MoneyBag!
  5650. totalDiscountAmountAfterTaxes: MoneyBag!
  5651. totalDiscountAmountBeforeTaxes: MoneyBag!
  5652. totalTaxAmount: MoneyBag!
  5653. }
  5654. enum SaleActionType
  5655. @join__type(graph: CUSTOMER)
  5656. @join__type(graph: PRODUCT)
  5657. {
  5658. ORDER
  5659. RETURN
  5660. UPDATE
  5661. UNKNOWN
  5662. }
  5663. type SaleConnection
  5664. @join__type(graph: CUSTOMER)
  5665. @join__type(graph: PRODUCT)
  5666. {
  5667. edges: [SaleEdge!]!
  5668. nodes: [Sale!]!
  5669. pageInfo: PageInfo!
  5670. }
  5671. type SaleEdge
  5672. @join__type(graph: CUSTOMER)
  5673. @join__type(graph: PRODUCT)
  5674. {
  5675. cursor: String!
  5676. node: Sale!
  5677. }
  5678. enum SaleLineType
  5679. @join__type(graph: CUSTOMER)
  5680. @join__type(graph: PRODUCT)
  5681. {
  5682. PRODUCT
  5683. TIP
  5684. GIFT_CARD
  5685. SHIPPING
  5686. DUTY
  5687. UNKNOWN
  5688. ADJUSTMENT
  5689. }
  5690. interface SalesAgreement
  5691. @join__type(graph: CUSTOMER)
  5692. @join__type(graph: PRODUCT)
  5693. {
  5694. app: App
  5695. happenedAt: DateTime!
  5696. id: ID!
  5697. reason: OrderActionType!
  5698. sales(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): SaleConnection!
  5699. user: StaffMember
  5700. }
  5701. type SalesAgreementConnection
  5702. @join__type(graph: CUSTOMER)
  5703. @join__type(graph: PRODUCT)
  5704. {
  5705. edges: [SalesAgreementEdge!]!
  5706. nodes: [SalesAgreement!]!
  5707. pageInfo: PageInfo!
  5708. }
  5709. type SalesAgreementEdge
  5710. @join__type(graph: CUSTOMER)
  5711. @join__type(graph: PRODUCT)
  5712. {
  5713. cursor: String!
  5714. node: SalesAgreement!
  5715. }
  5716. type SaleTax
  5717. @join__type(graph: CUSTOMER)
  5718. @join__type(graph: PRODUCT)
  5719. {
  5720. amount: MoneyBag!
  5721. id: ID!
  5722. taxLine: TaxLine!
  5723. }
  5724. type SavedSearch implements LegacyInteroperability & Node
  5725. @join__implements(graph: CUSTOMER, interface: "LegacyInteroperability")
  5726. @join__implements(graph: CUSTOMER, interface: "Node")
  5727. @join__implements(graph: PRODUCT, interface: "LegacyInteroperability")
  5728. @join__implements(graph: PRODUCT, interface: "Node")
  5729. @join__type(graph: CUSTOMER)
  5730. @join__type(graph: PRODUCT)
  5731. {
  5732. filters: [SearchFilter!]!
  5733. id: ID!
  5734. legacyResourceId: UnsignedInt64!
  5735. name: String!
  5736. query: String!
  5737. resourceType: SearchResultType!
  5738. searchTerms: String!
  5739. }
  5740. type SavedSearchConnection
  5741. @join__type(graph: CUSTOMER)
  5742. @join__type(graph: PRODUCT)
  5743. {
  5744. edges: [SavedSearchEdge!]!
  5745. nodes: [SavedSearch!]!
  5746. pageInfo: PageInfo!
  5747. }
  5748. type SavedSearchEdge
  5749. @join__type(graph: CUSTOMER)
  5750. @join__type(graph: PRODUCT)
  5751. {
  5752. cursor: String!
  5753. node: SavedSearch!
  5754. }
  5755. type ScriptDiscountApplication implements DiscountApplication
  5756. @join__implements(graph: CUSTOMER, interface: "DiscountApplication")
  5757. @join__implements(graph: PRODUCT, interface: "DiscountApplication")
  5758. @join__type(graph: CUSTOMER)
  5759. @join__type(graph: PRODUCT)
  5760. {
  5761. allocationMethod: DiscountApplicationAllocationMethod!
  5762. index: Int!
  5763. targetSelection: DiscountApplicationTargetSelection!
  5764. targetType: DiscountApplicationTargetType!
  5765. title: String!
  5766. value: PricingValue!
  5767. }
  5768. type SearchFilter
  5769. @join__type(graph: CUSTOMER)
  5770. @join__type(graph: PRODUCT)
  5771. {
  5772. key: String!
  5773. value: String!
  5774. }
  5775. type SearchFilterOptions
  5776. @join__type(graph: CUSTOMER)
  5777. @join__type(graph: PRODUCT)
  5778. {
  5779. productAvailability: [FilterOption!]!
  5780. }
  5781. type SearchResult
  5782. @join__type(graph: CUSTOMER)
  5783. @join__type(graph: PRODUCT)
  5784. {
  5785. description: String
  5786. image: Image
  5787. reference: Node!
  5788. title: String!
  5789. url: URL!
  5790. }
  5791. type SearchResultConnection
  5792. @join__type(graph: CUSTOMER)
  5793. @join__type(graph: PRODUCT)
  5794. {
  5795. edges: [SearchResultEdge!]!
  5796. pageInfo: PageInfo!
  5797. }
  5798. type SearchResultEdge
  5799. @join__type(graph: CUSTOMER)
  5800. @join__type(graph: PRODUCT)
  5801. {
  5802. cursor: String!
  5803. node: SearchResult!
  5804. }
  5805. enum SearchResultType
  5806. @join__type(graph: CUSTOMER)
  5807. @join__type(graph: PRODUCT)
  5808. {
  5809. CUSTOMER
  5810. DRAFT_ORDER
  5811. PRODUCT
  5812. COLLECTION
  5813. FILE
  5814. ONLINE_STORE_PAGE
  5815. ONLINE_STORE_BLOG
  5816. ONLINE_STORE_ARTICLE
  5817. URL_REDIRECT
  5818. PRICE_RULE
  5819. DISCOUNT_REDEEM_CODE
  5820. ORDER
  5821. }
  5822. type SelectedOption
  5823. @join__type(graph: CUSTOMER)
  5824. @join__type(graph: PRODUCT)
  5825. {
  5826. name: String!
  5827. value: String!
  5828. }
  5829. type SellingPlan implements Node
  5830. @join__implements(graph: CUSTOMER, interface: "Node")
  5831. @join__implements(graph: PRODUCT, interface: "Node")
  5832. @join__type(graph: CUSTOMER)
  5833. @join__type(graph: PRODUCT)
  5834. {
  5835. billingPolicy: SellingPlanBillingPolicy!
  5836. category: SellingPlanCategory
  5837. createdAt: DateTime!
  5838. deliveryPolicy: SellingPlanDeliveryPolicy!
  5839. description: String
  5840. id: ID!
  5841. inventoryPolicy: SellingPlanInventoryPolicy
  5842. name: String!
  5843. options: [String!]!
  5844. position: Int
  5845. pricingPolicies: [SellingPlanPricingPolicy!]!
  5846. }
  5847. type SellingPlanAnchor
  5848. @join__type(graph: CUSTOMER)
  5849. @join__type(graph: PRODUCT)
  5850. {
  5851. cutoffDay: Int
  5852. day: Int!
  5853. month: Int
  5854. type: SellingPlanAnchorType!
  5855. }
  5856. enum SellingPlanAnchorType
  5857. @join__type(graph: CUSTOMER)
  5858. @join__type(graph: PRODUCT)
  5859. {
  5860. WEEKDAY
  5861. MONTHDAY
  5862. YEARDAY
  5863. }
  5864. union SellingPlanBillingPolicy
  5865. @join__type(graph: CUSTOMER)
  5866. @join__type(graph: PRODUCT)
  5867. = SellingPlanFixedBillingPolicy | SellingPlanRecurringBillingPolicy
  5868. enum SellingPlanCategory
  5869. @join__type(graph: CUSTOMER)
  5870. @join__type(graph: PRODUCT)
  5871. {
  5872. OTHER
  5873. PRE_ORDER
  5874. SUBSCRIPTION
  5875. TRY_BEFORE_YOU_BUY
  5876. }
  5877. type SellingPlanCheckoutCharge
  5878. @join__type(graph: CUSTOMER)
  5879. @join__type(graph: PRODUCT)
  5880. {
  5881. type: SellingPlanCheckoutChargeType!
  5882. value: SellingPlanCheckoutChargeValue!
  5883. }
  5884. type SellingPlanCheckoutChargePercentageValue
  5885. @join__type(graph: CUSTOMER)
  5886. @join__type(graph: PRODUCT)
  5887. {
  5888. percentage: Float!
  5889. }
  5890. enum SellingPlanCheckoutChargeType
  5891. @join__type(graph: CUSTOMER)
  5892. @join__type(graph: PRODUCT)
  5893. {
  5894. PERCENTAGE
  5895. PRICE
  5896. }
  5897. union SellingPlanCheckoutChargeValue
  5898. @join__type(graph: CUSTOMER)
  5899. @join__type(graph: PRODUCT)
  5900. = MoneyV2 | SellingPlanCheckoutChargePercentageValue
  5901. type SellingPlanConnection
  5902. @join__type(graph: CUSTOMER)
  5903. @join__type(graph: PRODUCT)
  5904. {
  5905. edges: [SellingPlanEdge!]!
  5906. nodes: [SellingPlan!]!
  5907. pageInfo: PageInfo!
  5908. }
  5909. union SellingPlanDeliveryPolicy
  5910. @join__type(graph: CUSTOMER)
  5911. @join__type(graph: PRODUCT)
  5912. = SellingPlanFixedDeliveryPolicy | SellingPlanRecurringDeliveryPolicy
  5913. type SellingPlanEdge
  5914. @join__type(graph: CUSTOMER)
  5915. @join__type(graph: PRODUCT)
  5916. {
  5917. cursor: String!
  5918. node: SellingPlan!
  5919. }
  5920. type SellingPlanFixedBillingPolicy
  5921. @join__type(graph: CUSTOMER)
  5922. @join__type(graph: PRODUCT)
  5923. {
  5924. checkoutCharge: SellingPlanCheckoutCharge!
  5925. remainingBalanceChargeExactTime: DateTime
  5926. remainingBalanceChargeTimeAfterCheckout: String
  5927. remainingBalanceChargeTrigger: SellingPlanRemainingBalanceChargeTrigger!
  5928. }
  5929. type SellingPlanFixedDeliveryPolicy
  5930. @join__type(graph: CUSTOMER)
  5931. @join__type(graph: PRODUCT)
  5932. {
  5933. anchors: [SellingPlanAnchor!]!
  5934. cutoff: Int
  5935. fulfillmentExactTime: DateTime
  5936. fulfillmentTrigger: SellingPlanFulfillmentTrigger!
  5937. intent: SellingPlanFixedDeliveryPolicyIntent!
  5938. preAnchorBehavior: SellingPlanFixedDeliveryPolicyPreAnchorBehavior!
  5939. }
  5940. enum SellingPlanFixedDeliveryPolicyIntent
  5941. @join__type(graph: CUSTOMER)
  5942. @join__type(graph: PRODUCT)
  5943. {
  5944. FULFILLMENT_BEGIN
  5945. }
  5946. enum SellingPlanFixedDeliveryPolicyPreAnchorBehavior
  5947. @join__type(graph: CUSTOMER)
  5948. @join__type(graph: PRODUCT)
  5949. {
  5950. ASAP
  5951. NEXT
  5952. }
  5953. type SellingPlanFixedPricingPolicy implements SellingPlanPricingPolicyBase
  5954. @join__implements(graph: CUSTOMER, interface: "SellingPlanPricingPolicyBase")
  5955. @join__implements(graph: PRODUCT, interface: "SellingPlanPricingPolicyBase")
  5956. @join__type(graph: CUSTOMER)
  5957. @join__type(graph: PRODUCT)
  5958. {
  5959. adjustmentType: SellingPlanPricingPolicyAdjustmentType!
  5960. adjustmentValue: SellingPlanPricingPolicyAdjustmentValue!
  5961. createdAt: DateTime!
  5962. }
  5963. enum SellingPlanFulfillmentTrigger
  5964. @join__type(graph: CUSTOMER)
  5965. @join__type(graph: PRODUCT)
  5966. {
  5967. ANCHOR
  5968. ASAP
  5969. EXACT_TIME
  5970. UNKNOWN
  5971. }
  5972. type SellingPlanGroup implements Node
  5973. @join__implements(graph: CUSTOMER, interface: "Node")
  5974. @join__implements(graph: PRODUCT, interface: "Node")
  5975. @join__type(graph: CUSTOMER)
  5976. @join__type(graph: PRODUCT)
  5977. {
  5978. appId: String
  5979. appliesToProduct(productId: ID!): Boolean!
  5980. appliesToProductVariant(productVariantId: ID!): Boolean!
  5981. appliesToProductVariants(productId: ID!): Boolean!
  5982. createdAt: DateTime!
  5983. description: String
  5984. id: ID!
  5985. merchantCode: String!
  5986. name: String!
  5987. options: [String!]!
  5988. position: Int
  5989. productCount: Int!
  5990. productVariantCount(productId: ID): Int!
  5991. productVariants(productId: ID, first: Int, after: String, last: Int, before: String, reverse: Boolean = false): ProductVariantConnection!
  5992. products(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): ProductConnection!
  5993. sellingPlans(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): SellingPlanConnection!
  5994. summary: String
  5995. }
  5996. type SellingPlanGroupConnection
  5997. @join__type(graph: CUSTOMER)
  5998. @join__type(graph: PRODUCT)
  5999. {
  6000. edges: [SellingPlanGroupEdge!]!
  6001. nodes: [SellingPlanGroup!]!
  6002. pageInfo: PageInfo!
  6003. }
  6004. type SellingPlanGroupEdge
  6005. @join__type(graph: CUSTOMER)
  6006. @join__type(graph: PRODUCT)
  6007. {
  6008. cursor: String!
  6009. node: SellingPlanGroup!
  6010. }
  6011. type SellingPlanGroupUserError implements DisplayableError
  6012. @join__implements(graph: CUSTOMER, interface: "DisplayableError")
  6013. @join__implements(graph: PRODUCT, interface: "DisplayableError")
  6014. @join__type(graph: CUSTOMER)
  6015. @join__type(graph: PRODUCT)
  6016. {
  6017. code: SellingPlanGroupUserErrorCode
  6018. field: [String!]
  6019. message: String!
  6020. }
  6021. enum SellingPlanGroupUserErrorCode
  6022. @join__type(graph: CUSTOMER)
  6023. @join__type(graph: PRODUCT)
  6024. {
  6025. BLANK
  6026. EQUAL_TO
  6027. GREATER_THAN
  6028. GREATER_THAN_OR_EQUAL_TO
  6029. INCLUSION
  6030. INVALID
  6031. LESS_THAN
  6032. LESS_THAN_OR_EQUAL_TO
  6033. NOT_A_NUMBER
  6034. NOT_FOUND
  6035. PRESENT
  6036. TAKEN
  6037. TOO_BIG
  6038. TOO_LONG
  6039. TOO_SHORT
  6040. WRONG_LENGTH
  6041. SELLING_PLAN_COUNT_UPPER_BOUND
  6042. SELLING_PLAN_COUNT_LOWER_BOUND
  6043. SELLING_PLAN_MAX_CYCLES_MUST_BE_GREATER_THAN_MIN_CYCLES
  6044. SELLING_PLAN_BILLING_AND_DELIVERY_POLICY_ANCHORS_MUST_BE_EQUAL
  6045. SELLING_PLAN_BILLING_CYCLE_MUST_BE_A_MULTIPLE_OF_DELIVERY_CYCLE
  6046. SELLING_PLAN_PRICING_POLICIES_MUST_CONTAIN_A_FIXED_PRICING_POLICY
  6047. SELLING_PLAN_MISSING_OPTION2_LABEL_ON_PARENT_GROUP
  6048. SELLING_PLAN_MISSING_OPTION3_LABEL_ON_PARENT_GROUP
  6049. SELLING_PLAN_OPTION2_REQUIRED_AS_DEFINED_ON_PARENT_GROUP
  6050. SELLING_PLAN_OPTION3_REQUIRED_AS_DEFINED_ON_PARENT_GROUP
  6051. SELLING_PLAN_PRICING_POLICIES_LIMIT
  6052. RESOURCE_LIST_CONTAINS_INVALID_IDS
  6053. PRODUCT_VARIANT_DOES_NOT_EXIST
  6054. PRODUCT_DOES_NOT_EXIST
  6055. GROUP_DOES_NOT_EXIST
  6056. GROUP_COULD_NOT_BE_DELETED
  6057. ERROR_ADDING_RESOURCE_TO_GROUP
  6058. SELLING_PLAN_DELIVERY_POLICY_MISSING
  6059. SELLING_PLAN_BILLING_POLICY_MISSING
  6060. PLAN_DOES_NOT_EXIST
  6061. PLAN_ID_MUST_BE_SPECIFIED_TO_UPDATE
  6062. ONLY_NEED_ONE_BILLING_POLICY_TYPE
  6063. ONLY_NEED_ONE_DELIVERY_POLICY_TYPE
  6064. ONLY_NEED_ONE_PRICING_POLICY_TYPE
  6065. BILLING_AND_DELIVERY_POLICY_TYPES_MUST_BE_THE_SAME
  6066. ONLY_NEED_ONE_PRICING_POLICY_VALUE
  6067. PRICING_POLICY_ADJUSTMENT_VALUE_AND_TYPE_MUST_MATCH
  6068. SELLING_PLAN_DUPLICATE_NAME
  6069. SELLING_PLAN_DUPLICATE_OPTIONS
  6070. SELLING_PLAN_FIXED_PRICING_POLICIES_LIMIT
  6071. REMAINING_BALANCE_CHARGE_EXACT_TIME_REQUIRED
  6072. CHECKOUT_CHARGE_VALUE_AND_TYPE_MUST_MATCH
  6073. ONLY_NEED_ONE_CHECKOUT_CHARGE_VALUE
  6074. REMAINING_BALANCE_CHARGE_EXACT_TIME_NOT_ALLOWED
  6075. REMAINING_BALANCE_CHARGE_TIME_AFTER_CHECKOUT_MUST_BE_GREATER_THAN_ZERO
  6076. REMAINING_BALANCE_CHARGE_TRIGGER_ON_FULL_CHECKOUT
  6077. REMAINING_BALANCE_CHARGE_TRIGGER_NO_REMAINING_BALANCE_ON_PARTIAL_PERCENTAGE_CHECKOUT_CHARGE
  6078. REMAINING_BALANCE_CHARGE_TRIGGER_NO_REMAINING_BALANCE_ON_PRICE_CHECKOUT_CHARGE
  6079. FULFILLMENT_EXACT_TIME_REQUIRED
  6080. FULFILLMENT_EXACT_TIME_NOT_ALLOWED
  6081. SELLING_PLAN_ANCHORS_NOT_ALLOWED
  6082. SELLING_PLAN_ANCHORS_REQUIRED
  6083. ONLY_ONE_OF_FIXED_OR_RECURRING_BILLING
  6084. ONLY_ONE_OF_FIXED_OR_RECURRING_DELIVERY
  6085. }
  6086. enum SellingPlanInterval
  6087. @join__type(graph: CUSTOMER)
  6088. @join__type(graph: PRODUCT)
  6089. {
  6090. DAY
  6091. WEEK
  6092. MONTH
  6093. YEAR
  6094. }
  6095. type SellingPlanInventoryPolicy
  6096. @join__type(graph: CUSTOMER)
  6097. @join__type(graph: PRODUCT)
  6098. {
  6099. reserve: SellingPlanReserve!
  6100. }
  6101. union SellingPlanPricingPolicy
  6102. @join__type(graph: CUSTOMER)
  6103. @join__type(graph: PRODUCT)
  6104. = SellingPlanFixedPricingPolicy | SellingPlanRecurringPricingPolicy
  6105. enum SellingPlanPricingPolicyAdjustmentType
  6106. @join__type(graph: CUSTOMER)
  6107. @join__type(graph: PRODUCT)
  6108. {
  6109. PERCENTAGE
  6110. FIXED_AMOUNT
  6111. PRICE
  6112. }
  6113. union SellingPlanPricingPolicyAdjustmentValue
  6114. @join__type(graph: CUSTOMER)
  6115. @join__type(graph: PRODUCT)
  6116. = MoneyV2 | SellingPlanPricingPolicyPercentageValue
  6117. interface SellingPlanPricingPolicyBase
  6118. @join__type(graph: CUSTOMER)
  6119. @join__type(graph: PRODUCT)
  6120. {
  6121. adjustmentType: SellingPlanPricingPolicyAdjustmentType!
  6122. adjustmentValue: SellingPlanPricingPolicyAdjustmentValue!
  6123. }
  6124. type SellingPlanPricingPolicyPercentageValue
  6125. @join__type(graph: CUSTOMER)
  6126. @join__type(graph: PRODUCT)
  6127. {
  6128. percentage: Float!
  6129. }
  6130. type SellingPlanRecurringBillingPolicy
  6131. @join__type(graph: CUSTOMER)
  6132. @join__type(graph: PRODUCT)
  6133. {
  6134. anchors: [SellingPlanAnchor!]!
  6135. createdAt: DateTime!
  6136. interval: SellingPlanInterval!
  6137. intervalCount: Int!
  6138. maxCycles: Int
  6139. minCycles: Int
  6140. }
  6141. type SellingPlanRecurringDeliveryPolicy
  6142. @join__type(graph: CUSTOMER)
  6143. @join__type(graph: PRODUCT)
  6144. {
  6145. anchors: [SellingPlanAnchor!]!
  6146. createdAt: DateTime!
  6147. cutoff: Int
  6148. intent: SellingPlanRecurringDeliveryPolicyIntent!
  6149. interval: SellingPlanInterval!
  6150. intervalCount: Int!
  6151. preAnchorBehavior: SellingPlanRecurringDeliveryPolicyPreAnchorBehavior!
  6152. }
  6153. enum SellingPlanRecurringDeliveryPolicyIntent
  6154. @join__type(graph: CUSTOMER)
  6155. @join__type(graph: PRODUCT)
  6156. {
  6157. FULFILLMENT_BEGIN
  6158. }
  6159. enum SellingPlanRecurringDeliveryPolicyPreAnchorBehavior
  6160. @join__type(graph: CUSTOMER)
  6161. @join__type(graph: PRODUCT)
  6162. {
  6163. ASAP
  6164. NEXT
  6165. }
  6166. type SellingPlanRecurringPricingPolicy implements SellingPlanPricingPolicyBase
  6167. @join__implements(graph: CUSTOMER, interface: "SellingPlanPricingPolicyBase")
  6168. @join__implements(graph: PRODUCT, interface: "SellingPlanPricingPolicyBase")
  6169. @join__type(graph: CUSTOMER)
  6170. @join__type(graph: PRODUCT)
  6171. {
  6172. adjustmentType: SellingPlanPricingPolicyAdjustmentType!
  6173. adjustmentValue: SellingPlanPricingPolicyAdjustmentValue!
  6174. afterCycle: Int
  6175. createdAt: DateTime!
  6176. }
  6177. enum SellingPlanRemainingBalanceChargeTrigger
  6178. @join__type(graph: CUSTOMER)
  6179. @join__type(graph: PRODUCT)
  6180. {
  6181. NO_REMAINING_BALANCE
  6182. EXACT_TIME
  6183. TIME_AFTER_CHECKOUT
  6184. }
  6185. enum SellingPlanReserve
  6186. @join__type(graph: CUSTOMER)
  6187. @join__type(graph: PRODUCT)
  6188. {
  6189. ON_FULFILLMENT
  6190. ON_SALE
  6191. }
  6192. type SEO
  6193. @join__type(graph: CUSTOMER)
  6194. @join__type(graph: PRODUCT)
  6195. {
  6196. description: String
  6197. title: String
  6198. }
  6199. input SEOInput
  6200. @join__type(graph: CUSTOMER)
  6201. @join__type(graph: PRODUCT)
  6202. {
  6203. title: String
  6204. description: String
  6205. }
  6206. type ShippingLine
  6207. @join__type(graph: CUSTOMER)
  6208. @join__type(graph: PRODUCT)
  6209. {
  6210. carrierIdentifier: String
  6211. code: String
  6212. custom: Boolean!
  6213. deliveryCategory: String
  6214. discountAllocations: [DiscountAllocation!]!
  6215. discountedPriceSet: MoneyBag!
  6216. id: ID
  6217. originalPriceSet: MoneyBag!
  6218. phone: String
  6219. requestedFulfillmentService: FulfillmentService
  6220. shippingRateHandle: String
  6221. source: String
  6222. taxLines: [TaxLine!]!
  6223. title: String!
  6224. }
  6225. type ShippingLineConnection
  6226. @join__type(graph: CUSTOMER)
  6227. @join__type(graph: PRODUCT)
  6228. {
  6229. edges: [ShippingLineEdge!]!
  6230. nodes: [ShippingLine!]!
  6231. pageInfo: PageInfo!
  6232. }
  6233. type ShippingLineEdge
  6234. @join__type(graph: CUSTOMER)
  6235. @join__type(graph: PRODUCT)
  6236. {
  6237. cursor: String!
  6238. node: ShippingLine!
  6239. }
  6240. type ShippingRefund
  6241. @join__type(graph: CUSTOMER)
  6242. @join__type(graph: PRODUCT)
  6243. {
  6244. amountSet: MoneyBag!
  6245. maximumRefundableSet: MoneyBag!
  6246. taxSet: MoneyBag!
  6247. }
  6248. type Shop implements HasMetafields & HasPublishedTranslations & Node
  6249. @join__implements(graph: CUSTOMER, interface: "HasMetafields")
  6250. @join__implements(graph: CUSTOMER, interface: "HasPublishedTranslations")
  6251. @join__implements(graph: CUSTOMER, interface: "Node")
  6252. @join__implements(graph: PRODUCT, interface: "HasMetafields")
  6253. @join__implements(graph: PRODUCT, interface: "HasPublishedTranslations")
  6254. @join__implements(graph: PRODUCT, interface: "Node")
  6255. @join__type(graph: CUSTOMER)
  6256. @join__type(graph: PRODUCT)
  6257. {
  6258. alerts: [ShopAlert!]!
  6259. allProductCategories: [ProductCategory!]!
  6260. assignedFulfillmentOrders(after: String, assignmentStatus: FulfillmentOrderAssignmentStatus, before: String, first: Int, last: Int, locationIds: [ID!], reverse: Boolean = false, sortKey: FulfillmentOrderSortKeys = ID): FulfillmentOrderConnection!
  6261. availableChannelApps(after: String, before: String, first: Int, last: Int, reverse: Boolean = false): AppConnection!
  6262. billingAddress: MailingAddress!
  6263. channelDefinitionsForInstalledChannels: [AvailableChannelDefinitionsByChannel!]!
  6264. checkoutApiSupported: Boolean!
  6265. contactEmail: String!
  6266. countriesInShippingZones: CountriesInShippingZones!
  6267. currencyCode: CurrencyCode!
  6268. currencyFormats: CurrencyFormats!
  6269. currencySettings(after: String, before: String, first: Int, last: Int, reverse: Boolean = false): CurrencySettingConnection!
  6270. customerAccounts: ShopCustomerAccountsSetting!
  6271. customerTags(first: Int!): StringConnection!
  6272. description: String
  6273. draftOrderTags(first: Int!): StringConnection!
  6274. email: String!
  6275. enabledPresentmentCurrencies: [CurrencyCode!]!
  6276. features: ShopFeatures!
  6277. fulfillmentServices: [FulfillmentService!]!
  6278. ianaTimezone: String!
  6279. id: ID!
  6280. limitedPendingOrderCount: LimitedPendingOrderCount!
  6281. merchantApprovalSignals: MerchantApprovalSignals
  6282. metafield(key: String!, namespace: String!): Metafield
  6283. metafields(after: String, before: String, first: Int, last: Int, namespace: String, reverse: Boolean = false): MetafieldConnection!
  6284. myshopifyDomain: String!
  6285. name: String!
  6286. navigationSettings: [NavigationItem!]!
  6287. orderNumberFormatPrefix: String!
  6288. orderNumberFormatSuffix: String!
  6289. orderTags(first: Int!, sort: ShopTagSort = ALPHABETICAL): StringConnection!
  6290. paymentSettings: PaymentSettings!
  6291. plan: ShopPlan!
  6292. primaryDomain: Domain!
  6293. privateMetafield(key: String!, namespace: String!): PrivateMetafield
  6294. privateMetafields(after: String, before: String, first: Int, last: Int, namespace: String, reverse: Boolean = false): PrivateMetafieldConnection!
  6295. productImages(after: String, before: String, first: Int, last: Int, reverse: Boolean = false, sortKey: ProductImageSortKeys = CREATED_AT): ImageConnection!
  6296. productTags(first: Int!): StringConnection!
  6297. productTypes(first: Int!): StringConnection!
  6298. productVendors(first: Int!): StringConnection!
  6299. publicationCount: Int!
  6300. resourceLimits: ShopResourceLimits!
  6301. richTextEditorUrl: URL!
  6302. search(after: String, first: Int!, query: String!, types: [SearchResultType!]): SearchResultConnection!
  6303. searchFilters: SearchFilterOptions!
  6304. setupRequired: Boolean!
  6305. shipsToCountries: [CountryCode!]!
  6306. shopPolicies: [ShopPolicy!]!
  6307. staffMembers(after: String, before: String, first: Int, last: Int, reverse: Boolean = false): StaffMemberConnection!
  6308. storefrontAccessTokens(after: String, before: String, first: Int, last: Int, reverse: Boolean = false): StorefrontAccessTokenConnection!
  6309. taxShipping: Boolean!
  6310. taxesIncluded: Boolean!
  6311. timezoneAbbreviation: String!
  6312. timezoneOffset: String!
  6313. timezoneOffsetMinutes: Int!
  6314. transactionalSmsDisabled: Boolean!
  6315. translations(locale: String!, marketId: ID): [PublishedTranslation!]!
  6316. unitSystem: UnitSystem!
  6317. uploadedImagesByIds(imageIds: [ID!]!): [Image!]!
  6318. url: URL!
  6319. weightUnit: WeightUnit!
  6320. }
  6321. type ShopAlert
  6322. @join__type(graph: CUSTOMER)
  6323. @join__type(graph: PRODUCT)
  6324. {
  6325. action: ShopAlertAction!
  6326. description: String!
  6327. }
  6328. type ShopAlertAction
  6329. @join__type(graph: CUSTOMER)
  6330. @join__type(graph: PRODUCT)
  6331. {
  6332. title: String!
  6333. url: URL!
  6334. }
  6335. enum ShopBranding
  6336. @join__type(graph: CUSTOMER)
  6337. @join__type(graph: PRODUCT)
  6338. {
  6339. SHOPIFY_GOLD
  6340. SHOPIFY_PLUS
  6341. ROGERS
  6342. SHOPIFY
  6343. }
  6344. enum ShopCustomerAccountsSetting
  6345. @join__type(graph: CUSTOMER)
  6346. @join__type(graph: PRODUCT)
  6347. {
  6348. REQUIRED
  6349. OPTIONAL
  6350. DISABLED
  6351. }
  6352. type ShopFeatures
  6353. @join__type(graph: CUSTOMER)
  6354. @join__type(graph: PRODUCT)
  6355. {
  6356. avalaraAvatax: Boolean!
  6357. branding: ShopBranding!
  6358. captcha: Boolean!
  6359. captchaExternalDomains: Boolean!
  6360. dynamicRemarketing: Boolean!
  6361. eligibleForSubscriptionMigration: Boolean!
  6362. eligibleForSubscriptions: Boolean!
  6363. giftCards: Boolean!
  6364. harmonizedSystemCode: Boolean!
  6365. internationalDomains: Boolean!
  6366. internationalPriceOverrides: Boolean!
  6367. internationalPriceRules: Boolean!
  6368. legacySubscriptionGatewayEnabled: Boolean!
  6369. liveView: Boolean!
  6370. onboardingVisual: Boolean!
  6371. paypalExpressSubscriptionGatewayStatus: PaypalExpressSubscriptionsGatewayStatus!
  6372. reports: Boolean!
  6373. sellsSubscriptions: Boolean!
  6374. showMetrics: Boolean!
  6375. storefront: Boolean!
  6376. usingShopifyBalance: Boolean!
  6377. }
  6378. type ShopifyPaymentsExtendedAuthorization
  6379. @join__type(graph: CUSTOMER)
  6380. @join__type(graph: PRODUCT)
  6381. {
  6382. extendedAuthorizationExpiresAt: DateTime!
  6383. standardAuthorizationExpiresAt: DateTime!
  6384. }
  6385. type ShopifyPaymentsRefundSet
  6386. @join__type(graph: CUSTOMER)
  6387. @join__type(graph: PRODUCT)
  6388. {
  6389. acquirerReferenceNumber: String
  6390. }
  6391. type ShopifyPaymentsTransactionSet
  6392. @join__type(graph: CUSTOMER)
  6393. @join__type(graph: PRODUCT)
  6394. {
  6395. extendedAuthorizationSet: ShopifyPaymentsExtendedAuthorization
  6396. refundSet: ShopifyPaymentsRefundSet
  6397. }
  6398. type ShopPlan
  6399. @join__type(graph: CUSTOMER)
  6400. @join__type(graph: PRODUCT)
  6401. {
  6402. displayName: String!
  6403. partnerDevelopment: Boolean!
  6404. shopifyPlus: Boolean!
  6405. }
  6406. type ShopPolicy implements HasPublishedTranslations & Node
  6407. @join__implements(graph: CUSTOMER, interface: "HasPublishedTranslations")
  6408. @join__implements(graph: CUSTOMER, interface: "Node")
  6409. @join__implements(graph: PRODUCT, interface: "HasPublishedTranslations")
  6410. @join__implements(graph: PRODUCT, interface: "Node")
  6411. @join__type(graph: CUSTOMER)
  6412. @join__type(graph: PRODUCT)
  6413. {
  6414. body: HTML!
  6415. id: ID!
  6416. translations(locale: String!, marketId: ID): [PublishedTranslation!]!
  6417. type: ShopPolicyType!
  6418. url: URL!
  6419. }
  6420. enum ShopPolicyType
  6421. @join__type(graph: CUSTOMER)
  6422. @join__type(graph: PRODUCT)
  6423. {
  6424. REFUND_POLICY
  6425. SHIPPING_POLICY
  6426. PRIVACY_POLICY
  6427. TERMS_OF_SERVICE
  6428. TERMS_OF_SALE
  6429. LEGAL_NOTICE
  6430. SUBSCRIPTION_POLICY
  6431. }
  6432. type ShopResourceLimits
  6433. @join__type(graph: CUSTOMER)
  6434. @join__type(graph: PRODUCT)
  6435. {
  6436. locationLimit: Int!
  6437. maxProductOptions: Int!
  6438. maxProductVariants: Int!
  6439. redirectLimitReached: Boolean!
  6440. skuResourceLimits: ResourceLimit!
  6441. }
  6442. enum ShopTagSort
  6443. @join__type(graph: CUSTOMER)
  6444. @join__type(graph: PRODUCT)
  6445. {
  6446. ALPHABETICAL
  6447. POPULAR
  6448. }
  6449. type StaffMember implements Node
  6450. @join__implements(graph: CUSTOMER, interface: "Node")
  6451. @join__implements(graph: PRODUCT, interface: "Node")
  6452. @join__type(graph: CUSTOMER)
  6453. @join__type(graph: PRODUCT)
  6454. {
  6455. active: Boolean!
  6456. avatar(fallback: StaffMemberDefaultImage = DEFAULT): Image!
  6457. email: String!
  6458. exists: Boolean!
  6459. firstName: String
  6460. id: ID!
  6461. initials: [String!]
  6462. isShopOwner: Boolean!
  6463. lastName: String
  6464. locale: String!
  6465. name: String!
  6466. phone: String
  6467. privateData: StaffMemberPrivateData!
  6468. }
  6469. type StaffMemberConnection
  6470. @join__type(graph: CUSTOMER)
  6471. @join__type(graph: PRODUCT)
  6472. {
  6473. edges: [StaffMemberEdge!]!
  6474. nodes: [StaffMember!]!
  6475. pageInfo: PageInfo!
  6476. }
  6477. enum StaffMemberDefaultImage
  6478. @join__type(graph: CUSTOMER)
  6479. @join__type(graph: PRODUCT)
  6480. {
  6481. DEFAULT
  6482. TRANSPARENT
  6483. NOT_FOUND
  6484. }
  6485. type StaffMemberEdge
  6486. @join__type(graph: CUSTOMER)
  6487. @join__type(graph: PRODUCT)
  6488. {
  6489. cursor: String!
  6490. node: StaffMember!
  6491. }
  6492. type StaffMemberPrivateData
  6493. @join__type(graph: CUSTOMER)
  6494. @join__type(graph: PRODUCT)
  6495. {
  6496. accountSettingsUrl: URL!
  6497. createdAt: DateTime!
  6498. }
  6499. input StandardizedProductTypeInput
  6500. @join__type(graph: PRODUCT)
  6501. {
  6502. productTaxonomyNodeId: ID!
  6503. }
  6504. type StandardMetafieldDefinitionTemplate implements Node
  6505. @join__implements(graph: CUSTOMER, interface: "Node")
  6506. @join__implements(graph: PRODUCT, interface: "Node")
  6507. @join__type(graph: CUSTOMER)
  6508. @join__type(graph: PRODUCT)
  6509. {
  6510. description: String
  6511. id: ID!
  6512. key: String!
  6513. name: String!
  6514. namespace: String!
  6515. ownerTypes: [MetafieldOwnerType!]!
  6516. type: MetafieldDefinitionType!
  6517. validations: [MetafieldDefinitionValidation!]!
  6518. visibleToStorefrontApi: Boolean!
  6519. }
  6520. type StorefrontAccessToken implements Node
  6521. @join__implements(graph: CUSTOMER, interface: "Node")
  6522. @join__implements(graph: PRODUCT, interface: "Node")
  6523. @join__type(graph: CUSTOMER)
  6524. @join__type(graph: PRODUCT)
  6525. {
  6526. accessScopes: [AccessScope!]!
  6527. accessToken: String!
  6528. createdAt: DateTime!
  6529. id: ID!
  6530. title: String!
  6531. updatedAt: DateTime!
  6532. }
  6533. type StorefrontAccessTokenConnection
  6534. @join__type(graph: CUSTOMER)
  6535. @join__type(graph: PRODUCT)
  6536. {
  6537. edges: [StorefrontAccessTokenEdge!]!
  6538. nodes: [StorefrontAccessToken!]!
  6539. pageInfo: PageInfo!
  6540. }
  6541. type StorefrontAccessTokenEdge
  6542. @join__type(graph: CUSTOMER)
  6543. @join__type(graph: PRODUCT)
  6544. {
  6545. cursor: String!
  6546. node: StorefrontAccessToken!
  6547. }
  6548. type StringConnection
  6549. @join__type(graph: CUSTOMER)
  6550. @join__type(graph: PRODUCT)
  6551. {
  6552. edges: [StringEdge!]!
  6553. pageInfo: PageInfo!
  6554. }
  6555. type StringEdge
  6556. @join__type(graph: CUSTOMER)
  6557. @join__type(graph: PRODUCT)
  6558. {
  6559. cursor: String!
  6560. node: String!
  6561. }
  6562. type SubscriptionAppliedCodeDiscount
  6563. @join__type(graph: CUSTOMER)
  6564. @join__type(graph: PRODUCT)
  6565. {
  6566. id: ID!
  6567. redeemCode: String!
  6568. rejectionReason: SubscriptionDiscountRejectionReason
  6569. }
  6570. type SubscriptionBillingAttempt implements Node
  6571. @join__implements(graph: CUSTOMER, interface: "Node")
  6572. @join__implements(graph: PRODUCT, interface: "Node")
  6573. @join__type(graph: CUSTOMER)
  6574. @join__type(graph: PRODUCT)
  6575. {
  6576. completedAt: DateTime
  6577. createdAt: DateTime!
  6578. errorCode: SubscriptionBillingAttemptErrorCode
  6579. errorMessage: String
  6580. id: ID!
  6581. idempotencyKey: String!
  6582. nextActionUrl: URL
  6583. order: Order
  6584. originTime: DateTime
  6585. ready: Boolean!
  6586. subscriptionContract: SubscriptionContract!
  6587. }
  6588. type SubscriptionBillingAttemptConnection
  6589. @join__type(graph: CUSTOMER)
  6590. @join__type(graph: PRODUCT)
  6591. {
  6592. edges: [SubscriptionBillingAttemptEdge!]!
  6593. nodes: [SubscriptionBillingAttempt!]!
  6594. pageInfo: PageInfo!
  6595. }
  6596. type SubscriptionBillingAttemptEdge
  6597. @join__type(graph: CUSTOMER)
  6598. @join__type(graph: PRODUCT)
  6599. {
  6600. cursor: String!
  6601. node: SubscriptionBillingAttempt!
  6602. }
  6603. enum SubscriptionBillingAttemptErrorCode
  6604. @join__type(graph: CUSTOMER)
  6605. @join__type(graph: PRODUCT)
  6606. {
  6607. PAYMENT_METHOD_NOT_FOUND
  6608. PAYMENT_PROVIDER_IS_NOT_ENABLED
  6609. INVALID_PAYMENT_METHOD
  6610. UNEXPECTED_ERROR
  6611. EXPIRED_PAYMENT_METHOD
  6612. PAYMENT_METHOD_DECLINED
  6613. AUTHENTICATION_ERROR
  6614. TEST_MODE
  6615. BUYER_CANCELED_PAYMENT_METHOD
  6616. CUSTOMER_NOT_FOUND
  6617. CUSTOMER_INVALID
  6618. INVALID_SHIPPING_ADDRESS
  6619. INVALID_CUSTOMER_BILLING_AGREEMENT
  6620. INVOICE_ALREADY_PAID
  6621. PAYMENT_METHOD_INCOMPATIBLE_WITH_GATEWAY_CONFIG
  6622. AMOUNT_TOO_SMALL
  6623. }
  6624. type SubscriptionBillingPolicy
  6625. @join__type(graph: CUSTOMER)
  6626. @join__type(graph: PRODUCT)
  6627. {
  6628. anchors: [SellingPlanAnchor!]!
  6629. interval: SellingPlanInterval!
  6630. intervalCount: Int!
  6631. maxCycles: Int
  6632. minCycles: Int
  6633. }
  6634. type SubscriptionContract implements Node & SubscriptionContractBase
  6635. @join__implements(graph: CUSTOMER, interface: "Node")
  6636. @join__implements(graph: CUSTOMER, interface: "SubscriptionContractBase")
  6637. @join__implements(graph: PRODUCT, interface: "Node")
  6638. @join__implements(graph: PRODUCT, interface: "SubscriptionContractBase")
  6639. @join__type(graph: CUSTOMER)
  6640. @join__type(graph: PRODUCT)
  6641. {
  6642. app: App
  6643. appAdminUrl: URL
  6644. billingAttempts(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): SubscriptionBillingAttemptConnection!
  6645. billingPolicy: SubscriptionBillingPolicy!
  6646. createdAt: DateTime!
  6647. currencyCode: CurrencyCode!
  6648. customAttributes: [Attribute!]!
  6649. customer: Customer
  6650. customerPaymentMethod(showRevoked: Boolean = false): CustomerPaymentMethod
  6651. deliveryMethod: SubscriptionDeliveryMethod
  6652. deliveryPolicy: SubscriptionDeliveryPolicy!
  6653. deliveryPrice: MoneyV2!
  6654. discounts(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): SubscriptionManualDiscountConnection!
  6655. id: ID!
  6656. lastPaymentStatus: SubscriptionContractLastPaymentStatus
  6657. lineCount: Int!
  6658. lines(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): SubscriptionLineConnection!
  6659. nextBillingDate: DateTime
  6660. note: String
  6661. orders(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): OrderConnection!
  6662. originOrder: Order
  6663. status: SubscriptionContractSubscriptionStatus!
  6664. updatedAt: DateTime!
  6665. }
  6666. interface SubscriptionContractBase
  6667. @join__type(graph: CUSTOMER)
  6668. @join__type(graph: PRODUCT)
  6669. {
  6670. app: App
  6671. appAdminUrl: URL
  6672. currencyCode: CurrencyCode!
  6673. customAttributes: [Attribute!]!
  6674. customer: Customer
  6675. customerPaymentMethod(showRevoked: Boolean = false): CustomerPaymentMethod
  6676. deliveryMethod: SubscriptionDeliveryMethod
  6677. deliveryPrice: MoneyV2!
  6678. discounts(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): SubscriptionManualDiscountConnection!
  6679. lineCount: Int!
  6680. lines(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): SubscriptionLineConnection!
  6681. note: String
  6682. orders(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): OrderConnection!
  6683. updatedAt: DateTime!
  6684. }
  6685. type SubscriptionContractConnection
  6686. @join__type(graph: CUSTOMER)
  6687. @join__type(graph: PRODUCT)
  6688. {
  6689. edges: [SubscriptionContractEdge!]!
  6690. nodes: [SubscriptionContract!]!
  6691. pageInfo: PageInfo!
  6692. }
  6693. type SubscriptionContractEdge
  6694. @join__type(graph: CUSTOMER)
  6695. @join__type(graph: PRODUCT)
  6696. {
  6697. cursor: String!
  6698. node: SubscriptionContract!
  6699. }
  6700. enum SubscriptionContractLastPaymentStatus
  6701. @join__type(graph: CUSTOMER)
  6702. @join__type(graph: PRODUCT)
  6703. {
  6704. SUCCEEDED
  6705. FAILED
  6706. }
  6707. enum SubscriptionContractSubscriptionStatus
  6708. @join__type(graph: CUSTOMER)
  6709. @join__type(graph: PRODUCT)
  6710. {
  6711. ACTIVE
  6712. PAUSED
  6713. CANCELLED
  6714. EXPIRED
  6715. FAILED
  6716. }
  6717. type SubscriptionCyclePriceAdjustment
  6718. @join__type(graph: CUSTOMER)
  6719. @join__type(graph: PRODUCT)
  6720. {
  6721. adjustmentType: SellingPlanPricingPolicyAdjustmentType!
  6722. adjustmentValue: SellingPlanPricingPolicyAdjustmentValue!
  6723. afterCycle: Int!
  6724. computedPrice: MoneyV2!
  6725. }
  6726. union SubscriptionDeliveryMethod
  6727. @join__type(graph: CUSTOMER)
  6728. @join__type(graph: PRODUCT)
  6729. = SubscriptionDeliveryMethodLocalDelivery | SubscriptionDeliveryMethodPickup | SubscriptionDeliveryMethodShipping
  6730. type SubscriptionDeliveryMethodLocalDelivery
  6731. @join__type(graph: CUSTOMER)
  6732. @join__type(graph: PRODUCT)
  6733. {
  6734. address: SubscriptionMailingAddress!
  6735. localDeliveryOption: SubscriptionDeliveryMethodLocalDeliveryOption!
  6736. }
  6737. type SubscriptionDeliveryMethodLocalDeliveryOption
  6738. @join__type(graph: CUSTOMER)
  6739. @join__type(graph: PRODUCT)
  6740. {
  6741. code: String
  6742. description: String
  6743. instructions: String
  6744. phone: String!
  6745. presentmentTitle: String
  6746. title: String
  6747. }
  6748. type SubscriptionDeliveryMethodPickup
  6749. @join__type(graph: CUSTOMER)
  6750. @join__type(graph: PRODUCT)
  6751. {
  6752. pickupOption: SubscriptionDeliveryMethodPickupOption!
  6753. }
  6754. type SubscriptionDeliveryMethodPickupOption
  6755. @join__type(graph: CUSTOMER)
  6756. @join__type(graph: PRODUCT)
  6757. {
  6758. code: String
  6759. description: String
  6760. location: Location!
  6761. presentmentTitle: String
  6762. title: String
  6763. }
  6764. type SubscriptionDeliveryMethodShipping
  6765. @join__type(graph: CUSTOMER)
  6766. @join__type(graph: PRODUCT)
  6767. {
  6768. address: SubscriptionMailingAddress!
  6769. shippingOption: SubscriptionDeliveryMethodShippingOption!
  6770. }
  6771. type SubscriptionDeliveryMethodShippingOption
  6772. @join__type(graph: CUSTOMER)
  6773. @join__type(graph: PRODUCT)
  6774. {
  6775. carrierService: DeliveryCarrierService
  6776. code: String
  6777. description: String
  6778. presentmentTitle: String
  6779. title: String
  6780. }
  6781. type SubscriptionDeliveryPolicy
  6782. @join__type(graph: CUSTOMER)
  6783. @join__type(graph: PRODUCT)
  6784. {
  6785. anchors: [SellingPlanAnchor!]!
  6786. interval: SellingPlanInterval!
  6787. intervalCount: Int!
  6788. }
  6789. union SubscriptionDiscount
  6790. @join__type(graph: CUSTOMER)
  6791. @join__type(graph: PRODUCT)
  6792. = SubscriptionAppliedCodeDiscount | SubscriptionManualDiscount
  6793. type SubscriptionDiscountAllocation
  6794. @join__type(graph: CUSTOMER)
  6795. @join__type(graph: PRODUCT)
  6796. {
  6797. amount: MoneyV2!
  6798. discount: SubscriptionDiscount!
  6799. }
  6800. type SubscriptionDiscountEntitledLines
  6801. @join__type(graph: CUSTOMER)
  6802. @join__type(graph: PRODUCT)
  6803. {
  6804. all: Boolean!
  6805. lines(first: Int, after: String, last: Int, before: String, reverse: Boolean = false): SubscriptionLineConnection!
  6806. }
  6807. type SubscriptionDiscountFixedAmountValue
  6808. @join__type(graph: CUSTOMER)
  6809. @join__type(graph: PRODUCT)
  6810. {
  6811. amount: MoneyV2!
  6812. appliesOnEachItem: Boolean!
  6813. }
  6814. type SubscriptionDiscountPercentageValue
  6815. @join__type(graph: CUSTOMER)
  6816. @join__type(graph: PRODUCT)
  6817. {
  6818. percentage: Int!
  6819. }
  6820. enum SubscriptionDiscountRejectionReason
  6821. @join__type(graph: CUSTOMER)
  6822. @join__type(graph: PRODUCT)
  6823. {
  6824. NOT_FOUND
  6825. NO_ENTITLED_LINE_ITEMS
  6826. QUANTITY_NOT_IN_RANGE
  6827. PURCHASE_NOT_IN_RANGE
  6828. CUSTOMER_NOT_ELIGIBLE
  6829. USAGE_LIMIT_REACHED
  6830. CUSTOMER_USAGE_LIMIT_REACHED
  6831. CURRENTLY_INACTIVE
  6832. NO_ENTITLED_SHIPPING_LINES
  6833. INCOMPATIBLE_PURCHASE_TYPE
  6834. INTERNAL_ERROR
  6835. }
  6836. union SubscriptionDiscountValue
  6837. @join__type(graph: CUSTOMER)
  6838. @join__type(graph: PRODUCT)
  6839. = SubscriptionDiscountFixedAmountValue | SubscriptionDiscountPercentageValue
  6840. type SubscriptionLine
  6841. @join__type(graph: CUSTOMER)
  6842. @join__type(graph: PRODUCT)
  6843. {
  6844. currentPrice: MoneyV2!
  6845. customAttributes: [Attribute!]!
  6846. discountAllocations: [SubscriptionDiscountAllocation!]!
  6847. id: ID!
  6848. lineDiscountedPrice: MoneyV2!
  6849. pricingPolicy: SubscriptionPricingPolicy
  6850. productId: ID
  6851. quantity: Int!
  6852. requiresShipping: Boolean!
  6853. sellingPlanId: ID
  6854. sellingPlanName: String
  6855. sku: String
  6856. taxable: Boolean!
  6857. title: String!
  6858. variantId: ID
  6859. variantImage: Image
  6860. variantTitle: String
  6861. }
  6862. type SubscriptionLineConnection
  6863. @join__type(graph: CUSTOMER)
  6864. @join__type(graph: PRODUCT)
  6865. {
  6866. edges: [SubscriptionLineEdge!]!
  6867. nodes: [SubscriptionLine!]!
  6868. pageInfo: PageInfo!
  6869. }
  6870. type SubscriptionLineEdge
  6871. @join__type(graph: CUSTOMER)
  6872. @join__type(graph: PRODUCT)
  6873. {
  6874. cursor: String!
  6875. node: SubscriptionLine!
  6876. }
  6877. type SubscriptionMailingAddress
  6878. @join__type(graph: CUSTOMER)
  6879. @join__type(graph: PRODUCT)
  6880. {
  6881. address1: String
  6882. address2: String
  6883. city: String
  6884. company: String
  6885. country: String
  6886. countryCode: CountryCode
  6887. firstName: String
  6888. lastName: String
  6889. name: String
  6890. phone: String
  6891. province: String
  6892. provinceCode: String
  6893. zip: String
  6894. }
  6895. type SubscriptionManualDiscount
  6896. @join__type(graph: CUSTOMER)
  6897. @join__type(graph: PRODUCT)
  6898. {
  6899. entitledLines: SubscriptionDiscountEntitledLines!
  6900. id: ID!
  6901. recurringCycleLimit: Int
  6902. rejectionReason: SubscriptionDiscountRejectionReason
  6903. targetType: DiscountTargetType!
  6904. title: String
  6905. type: DiscountType!
  6906. usageCount: Int!
  6907. value: SubscriptionDiscountValue!
  6908. }
  6909. type SubscriptionManualDiscountConnection
  6910. @join__type(graph: CUSTOMER)
  6911. @join__type(graph: PRODUCT)
  6912. {
  6913. edges: [SubscriptionManualDiscountEdge!]!
  6914. nodes: [SubscriptionManualDiscount!]!
  6915. pageInfo: PageInfo!
  6916. }
  6917. type SubscriptionManualDiscountEdge
  6918. @join__type(graph: CUSTOMER)
  6919. @join__type(graph: PRODUCT)
  6920. {
  6921. cursor: String!
  6922. node: SubscriptionManualDiscount!
  6923. }
  6924. type SubscriptionPricingPolicy
  6925. @join__type(graph: CUSTOMER)
  6926. @join__type(graph: PRODUCT)
  6927. {
  6928. basePrice: MoneyV2!
  6929. cycleDiscounts: [SubscriptionCyclePriceAdjustment!]!
  6930. }
  6931. type SuggestedOrderTransaction
  6932. @join__type(graph: CUSTOMER)
  6933. @join__type(graph: PRODUCT)
  6934. {
  6935. accountNumber: String
  6936. amountSet: MoneyBag!
  6937. formattedGateway: String
  6938. gateway: String
  6939. kind: SuggestedOrderTransactionKind!
  6940. maximumRefundableSet: MoneyBag
  6941. parentTransaction: OrderTransaction
  6942. }
  6943. enum SuggestedOrderTransactionKind
  6944. @join__type(graph: CUSTOMER)
  6945. @join__type(graph: PRODUCT)
  6946. {
  6947. SUGGESTED_REFUND
  6948. }
  6949. type SuggestedRefund
  6950. @join__type(graph: CUSTOMER)
  6951. @join__type(graph: PRODUCT)
  6952. {
  6953. amountSet: MoneyBag!
  6954. discountedSubtotalSet: MoneyBag!
  6955. maximumRefundableSet: MoneyBag!
  6956. refundDuties: [RefundDuty!]!
  6957. refundLineItems: [RefundLineItem!]!
  6958. shipping: ShippingRefund!
  6959. subtotalSet: MoneyBag!
  6960. suggestedTransactions: [SuggestedOrderTransaction!]!
  6961. totalCartDiscountAmountSet: MoneyBag!
  6962. totalDutiesSet: MoneyBag!
  6963. totalTaxSet: MoneyBag!
  6964. }
  6965. enum TaxExemption
  6966. @join__type(graph: CUSTOMER)
  6967. @join__type(graph: PRODUCT)
  6968. {
  6969. CA_STATUS_CARD_EXEMPTION
  6970. CA_BC_RESELLER_EXEMPTION
  6971. CA_MB_RESELLER_EXEMPTION
  6972. CA_SK_RESELLER_EXEMPTION
  6973. CA_DIPLOMAT_EXEMPTION
  6974. CA_BC_COMMERCIAL_FISHERY_EXEMPTION
  6975. CA_MB_COMMERCIAL_FISHERY_EXEMPTION
  6976. CA_NS_COMMERCIAL_FISHERY_EXEMPTION
  6977. CA_PE_COMMERCIAL_FISHERY_EXEMPTION
  6978. CA_SK_COMMERCIAL_FISHERY_EXEMPTION
  6979. CA_BC_PRODUCTION_AND_MACHINERY_EXEMPTION
  6980. CA_SK_PRODUCTION_AND_MACHINERY_EXEMPTION
  6981. CA_BC_SUB_CONTRACTOR_EXEMPTION
  6982. CA_SK_SUB_CONTRACTOR_EXEMPTION
  6983. CA_BC_CONTRACTOR_EXEMPTION
  6984. CA_SK_CONTRACTOR_EXEMPTION
  6985. CA_ON_PURCHASE_EXEMPTION
  6986. CA_MB_FARMER_EXEMPTION
  6987. CA_NS_FARMER_EXEMPTION
  6988. CA_SK_FARMER_EXEMPTION
  6989. EU_REVERSE_CHARGE_EXEMPTION_RULE
  6990. US_AL_RESELLER_EXEMPTION
  6991. US_AK_RESELLER_EXEMPTION
  6992. US_AZ_RESELLER_EXEMPTION
  6993. US_AR_RESELLER_EXEMPTION
  6994. US_CA_RESELLER_EXEMPTION
  6995. US_CO_RESELLER_EXEMPTION
  6996. US_CT_RESELLER_EXEMPTION
  6997. US_DE_RESELLER_EXEMPTION
  6998. US_FL_RESELLER_EXEMPTION
  6999. US_GA_RESELLER_EXEMPTION
  7000. US_HI_RESELLER_EXEMPTION
  7001. US_ID_RESELLER_EXEMPTION
  7002. US_IL_RESELLER_EXEMPTION
  7003. US_IN_RESELLER_EXEMPTION
  7004. US_IA_RESELLER_EXEMPTION
  7005. US_KS_RESELLER_EXEMPTION
  7006. US_KY_RESELLER_EXEMPTION
  7007. US_LA_RESELLER_EXEMPTION
  7008. US_ME_RESELLER_EXEMPTION
  7009. US_MD_RESELLER_EXEMPTION
  7010. US_MA_RESELLER_EXEMPTION
  7011. US_MI_RESELLER_EXEMPTION
  7012. US_MN_RESELLER_EXEMPTION
  7013. US_MS_RESELLER_EXEMPTION
  7014. US_MO_RESELLER_EXEMPTION
  7015. US_MT_RESELLER_EXEMPTION
  7016. US_NE_RESELLER_EXEMPTION
  7017. US_NV_RESELLER_EXEMPTION
  7018. US_NH_RESELLER_EXEMPTION
  7019. US_NJ_RESELLER_EXEMPTION
  7020. US_NM_RESELLER_EXEMPTION
  7021. US_NY_RESELLER_EXEMPTION
  7022. US_NC_RESELLER_EXEMPTION
  7023. US_ND_RESELLER_EXEMPTION
  7024. US_OH_RESELLER_EXEMPTION
  7025. US_OK_RESELLER_EXEMPTION
  7026. US_OR_RESELLER_EXEMPTION
  7027. US_PA_RESELLER_EXEMPTION
  7028. US_RI_RESELLER_EXEMPTION
  7029. US_SC_RESELLER_EXEMPTION
  7030. US_SD_RESELLER_EXEMPTION
  7031. US_TN_RESELLER_EXEMPTION
  7032. US_TX_RESELLER_EXEMPTION
  7033. US_UT_RESELLER_EXEMPTION
  7034. US_VT_RESELLER_EXEMPTION
  7035. US_VA_RESELLER_EXEMPTION
  7036. US_WA_RESELLER_EXEMPTION
  7037. US_WV_RESELLER_EXEMPTION
  7038. US_WI_RESELLER_EXEMPTION
  7039. US_WY_RESELLER_EXEMPTION
  7040. US_DC_RESELLER_EXEMPTION
  7041. }
  7042. type TaxLine
  7043. @join__type(graph: CUSTOMER)
  7044. @join__type(graph: PRODUCT)
  7045. {
  7046. channelLiable: Boolean
  7047. priceSet: MoneyBag!
  7048. rate: Float
  7049. ratePercentage: Float
  7050. title: String!
  7051. }
  7052. type TransactionFee implements Node
  7053. @join__implements(graph: CUSTOMER, interface: "Node")
  7054. @join__implements(graph: PRODUCT, interface: "Node")
  7055. @join__type(graph: CUSTOMER)
  7056. @join__type(graph: PRODUCT)
  7057. {
  7058. amount: MoneyV2!
  7059. flatFee: MoneyV2!
  7060. flatFeeName: String
  7061. id: ID!
  7062. rate: Decimal!
  7063. rateName: String
  7064. taxAmount: MoneyV2!
  7065. type: String!
  7066. }
  7067. type TypedAttribute
  7068. @join__type(graph: CUSTOMER)
  7069. @join__type(graph: PRODUCT)
  7070. {
  7071. key: String!
  7072. value: String!
  7073. }
  7074. enum UnitSystem
  7075. @join__type(graph: CUSTOMER)
  7076. @join__type(graph: PRODUCT)
  7077. {
  7078. IMPERIAL_SYSTEM
  7079. METRIC_SYSTEM
  7080. }
  7081. scalar UnsignedInt64
  7082. @join__type(graph: CUSTOMER)
  7083. @join__type(graph: PRODUCT)
  7084. input UpdateMediaInput
  7085. @join__type(graph: PRODUCT)
  7086. {
  7087. id: ID!
  7088. previewImageSource: String
  7089. alt: String
  7090. }
  7091. scalar URL
  7092. @join__type(graph: CUSTOMER)
  7093. @join__type(graph: PRODUCT)
  7094. type UserError implements DisplayableError
  7095. @join__implements(graph: CUSTOMER, interface: "DisplayableError")
  7096. @join__implements(graph: PRODUCT, interface: "DisplayableError")
  7097. @join__type(graph: CUSTOMER)
  7098. @join__type(graph: PRODUCT)
  7099. {
  7100. field: [String!]
  7101. message: String!
  7102. }
  7103. type UTMParameters
  7104. @join__type(graph: CUSTOMER)
  7105. @join__type(graph: PRODUCT)
  7106. {
  7107. campaign: String
  7108. content: String
  7109. medium: String
  7110. source: String
  7111. term: String
  7112. }
  7113. type VaultCreditCard
  7114. @join__type(graph: CUSTOMER)
  7115. @join__type(graph: PRODUCT)
  7116. {
  7117. billingAddress: CustomerCreditCardBillingAddress
  7118. brand: String!
  7119. expired: Boolean!
  7120. expiryMonth: Int!
  7121. expiryYear: Int!
  7122. lastDigits: String!
  7123. name: String!
  7124. }
  7125. type VaultPaypalBillingAgreement
  7126. @join__type(graph: CUSTOMER)
  7127. @join__type(graph: PRODUCT)
  7128. {
  7129. inactive: Boolean!
  7130. name: String!
  7131. paypalAccountEmail: String!
  7132. }
  7133. type Video implements File & Media & Node
  7134. @join__implements(graph: CUSTOMER, interface: "File")
  7135. @join__implements(graph: CUSTOMER, interface: "Media")
  7136. @join__implements(graph: CUSTOMER, interface: "Node")
  7137. @join__implements(graph: PRODUCT, interface: "File")
  7138. @join__implements(graph: PRODUCT, interface: "Media")
  7139. @join__implements(graph: PRODUCT, interface: "Node")
  7140. @join__type(graph: CUSTOMER)
  7141. @join__type(graph: PRODUCT)
  7142. {
  7143. alt: String
  7144. createdAt: DateTime!
  7145. duration: Int
  7146. fileErrors: [FileError!]!
  7147. fileStatus: FileStatus!
  7148. filename: String!
  7149. id: ID!
  7150. mediaContentType: MediaContentType!
  7151. mediaErrors: [MediaError!]!
  7152. mediaWarnings: [MediaWarning!]!
  7153. originalSource: VideoSource
  7154. preview: MediaPreviewImage
  7155. sources: [VideoSource!]!
  7156. status: MediaStatus!
  7157. }
  7158. type VideoSource
  7159. @join__type(graph: CUSTOMER)
  7160. @join__type(graph: PRODUCT)
  7161. {
  7162. fileSize: Int
  7163. format: String!
  7164. height: Int!
  7165. mimeType: String!
  7166. url: String!
  7167. width: Int!
  7168. }
  7169. type Weight
  7170. @join__type(graph: CUSTOMER)
  7171. @join__type(graph: PRODUCT)
  7172. {
  7173. unit: WeightUnit!
  7174. value: Float!
  7175. }
  7176. enum WeightUnit
  7177. @join__type(graph: CUSTOMER)
  7178. @join__type(graph: PRODUCT)
  7179. {
  7180. KILOGRAMS
  7181. GRAMS
  7182. POUNDS
  7183. OUNCES
  7184. }
  7185. directive @inContext(
  7186. language: LanguageCode,
  7187. country: CountryCode
  7188. ) on QUERY | MUTATION | OBJECT