{"info":{"_postman_id":"d0ebc5a4-3a8c-4d63-9d05-e90233138f56","name":"Marketplacer SELLER API","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","_exporter_id":"6283603"},"item":[{"name":"Adverts","item":[{"name":"Advert Create (by Seller)","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation AdvertCreate($input: AdvertUpsertMutationInput!) {\n\tadvertUpsert(input: $input) {\n\t\tstatus\n\t\tadvert {\n\t\t\tid\n\t\t\tlegacyId\n\t\t}\n\t\terrors {\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t}\n}","variables":"{\n  \"input\": {\n    \"attributes\": {\n      \"brandId\": \"QnJhbmQtNA==\",\n      \"taxonId\": \"VGF4b24tMjk2OQ==\",\n      \"title\": \"Product Title\",\n      \"description\": \"Product Description\",\n      \"price\": \"199.99\",\n      \"attemptAutoPublish\": true,\n      \"images\": [\n        {\n          \"sourceUrl\": \"https://picsum.photos/640/480/?image=166\"\n        }\n      ],\n      \"advertOptionValues\": [\n        {\n          \"optionValueId\": \"T3B0aW9uVmFsdWUtNzI3\"\n        },\n        {\n          \"optionValueId\": \"T3B0aW9uVmFsdWUtNzI4\"\n        },\n        {\n          \"optionValueId\": \"T3B0aW9uVmFsdWUtNzM0\"\n        },\n        {\n          \"optionTypeId\": \"T3B0aW9uVHlwZS0yNTA=\",\n          \"textValue\": \"Snapdragon 8\"\n        }\n      ],\n      \"variants\": [\n        {\n          \"countOnHand\": 1000,\n          \"variantOptionValues\": [\n            {\n              \"optionValueId\": \"T3B0aW9uVmFsdWUtNzMx\"\n            },\n            {\n              \"optionValueId\": \"T3B0aW9uVmFsdWUtNzIz\"\n            },\n            {\n              \"optionTypeId\": \"T3B0aW9uVHlwZS0yNTI=\",\n              \"textValue\": \"Ocean Blue\"\n            }\n          ]\n        }\n      ]\n    }\n  }\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Advert Update","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation AdvertUpdate($input: AdvertUpsertMutationInput!) {\n\tadvertUpsert(input: $input) {\n\t\tadvert {\n\t\t\tlegacyId\n\t\t\teditablePrice\n\t\t\tpublished\n\t\t}\n\t\terrors {\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t}\n}","variables":"{\n  \"input\": {\n    \"advertId\": \"QWR2ZXJ0LTEwMDA3NzY4OA==\",\n    \"attributes\": {\n      \"brandId\": \"QnJhbmQtNA==\",\n      \"title\": \"Product Title\",\n      \"description\": \"Product Description\",\n      \"price\": \"199.99\",\n      \"attemptAutoPublish\": true\n    }\n  }\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Get a Single Advert (node query)","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query GetProductById($id: ID!) {\n\tnode(id: $id) {\n\t\t__typename\n\t\t... on Advert {\n\t\t\tlegacyId\n\t\t\tid\n\t\t\ttitle\n\t\t\tupdatedAt\n\t\t\tdisplayable\n\t\t\tpublished\n\t\t\tvetted\n\t\t\tvettingRejected\n\t\t\tvettingRejectedReason\n\t\t\tvariants(first: 3) {\n\t\t\t\tnodes {\n\t\t\t\t\tid\n\t\t\t\t\tbuyable\n\t\t\t\t\tdisplayable\n\t\t\t\t\tpublished\n\t\t\t\t\tcountOnHand\n\t\t\t\t}\n\t\t\t\tpageInfo {\n\t\t\t\t\thasNextPage\n\t\t\t\t\tendCursor\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}","variables":"{\n\t\"id\": \"QWR2ZXJ0LTEwMDAyMTIwMQ==\"\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Variant Search","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query VariantSearch(\n\t$pageSize: Int\n\t$endCursor: String\n\t$variantFilters: VariantFilterInput\n) {\n\tvariantsWhere(\n\t\tfirst: $pageSize\n\t\tafter: $endCursor\n\t\tvariantFilters: $variantFilters\n\t) {\n\t\tnodes {\n\t\t\tbarcode\n\t\t\tid\n\t\t}\n\t}\n}\n","variables":"{\n\t\"pageSize\": 50,\n\t\"endCursor\": null,\n\t\"variantFilters\": {\n\t\t\"barcodes\": [\n\t\t\t\"978020137962\"\n\t\t]\n\t}\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Variant Update","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation VariantUpdate($input: VariantUpdateMutationInput!) {\n\tvariantUpdate(input: $input) {\n\t\tvariant {\n\t\t\tcountOnHand\n\t\t}\n\t\terrors {\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t}\n}\n","variables":"{\n\t\"input\": {\n\t\t\"variantId\": \"VmFyaWFudC04NDkzOA==\",\n\t\t\"attributes\": {\n\t\t\t\"countOnHand\": 101\n\t\t}\n\t}\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Variant Upsert from Barcode","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation createProductFromBarcode(\n  $input: VariantUpsertFromBarcodeMutationInput!\n) {\n  variantUpsertFromBarcode(input: $input) {\n    variant {\n      countOnHand\n      advert {\n        ... on Advert {\n          id\n          title\n        }\n        ... on UnpublishedAdvert {\n          id\n          details {\n            title\n          }\n        }\n      }\n    }\n    errors {\n      field\n      messages\n    }\n  }\n}","variables":"{\n  \"input\": {\n    \"barcode\": \"8297261223664\",\n    \"attemptPublish\": true,\n    \"attributes\": {\n      \"price\": 20,\n      \"salePrice\": 10,\n      \"countOnHand\": 100\n    }\n  }\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"advertDelete","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation advertDelete($input: AdvertDeleteMutationInput!){\n\tadvertDelete(input: $input)\n\t{\n\t\tstatus\n\t\terrors{\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t\tadvert{\n\t\t\tid\n\t\t}\n\t}\n}","variables":"{\n\t\"input\": {\n\t\t\"id\": \"<INSERT ADVERT ID>\"\n\t}\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"advertSearch (Search by Seller Ids)","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ProductSearchBySellerId(\n\t$sellerIds: [ID!]\n\t$advertPageSize: Int\n\t$advertEndCursor: String\n\t$variantPageSize: Int\n\t$variantEndCursor: String\n) {\n\tadvertSearch(attributes: { sellerIds: $sellerIds }) {\n\t\tadverts(first: $advertPageSize, after: $advertEndCursor) {\n\t\t\ttotalCount\n\t\t\tpageInfo {\n\t\t\t\t...PageInfoPartial\n\t\t\t}\n\t\t\tedges {\n\t\t\t\tnode {\n\t\t\t\t\tid\n\t\t\t\t\tpriceUnit\n\t\t\t\t\ttitle\n\t\t\t\t\tseller {\n\t\t\t\t\t\tbusinessName\n\t\t\t\t\t}\n\n\t\t\t\t\tvariants(first: $variantPageSize, after: $variantEndCursor) {\n\t\t\t\t\t\ttotalCount\n\t\t\t\t\t\tpageInfo {\n\t\t\t\t\t\t\t...PageInfoPartial\n\t\t\t\t\t\t}\n\t\t\t\t\t\tedges {\n\t\t\t\t\t\t\tnode {\n\t\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\t\tlowestPrice\n\t\t\t\t\t\t\t\tcountOnHand\n\t\t\t\t\t\t\t\tlabel\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\nfragment PageInfoPartial on PageInfo {\n\thasNextPage\n\tendCursor\n}","variables":"{\n\t\"advertPageSize\": 50,\n\t\"advertEndCursor\": null,\n\t\"variantPageSize\": 5,\n\t\"variantEndCursor\": null,\n\t\"sellerIds\": [\n\t\t\"U2VsbGVyLTY2MDExOQ==\",\n\t\t\"U2VsbGVyLTcw\"\n\t]\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"advertSearch (Search using keywords)","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ProductSearchByKeyword(\n\t$keywords: String\n\t$advertPageSize: Int\n\t$advertEndCursor: String\n\t$variantPageSize: Int\n\t$variantEndCursor: String\n) {\n\tadvertSearch(attributes: { keywordQuery: $keywords }) {\n\t\tadverts(first: $advertPageSize, after: $advertEndCursor) {\n\t\t\ttotalCount\n\t\t\tpageInfo {\n\t\t\t\t...PageInfoPartial\n\t\t\t}\n\t\t\tedges {\n\t\t\t\tnode {\n\t\t\t\t\ttitle\n\t\t\t\t\tvariants(first: $variantPageSize, after: $variantEndCursor) {\n\t\t\t\t\t\ttotalCount\n\t\t\t\t\t\tpageInfo {\n\t\t\t\t\t\t\t...PageInfoPartial\n\t\t\t\t\t\t}\n\t\t\t\t\t\tedges {\n\t\t\t\t\t\t\tnode {\n\t\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\t\tlowestPriceCents\n\t\t\t\t\t\t\t\tcountOnHand\n\t\t\t\t\t\t\t\tlabel\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\nfragment PageInfoPartial on PageInfo {\n\thasNextPage\n\tendCursor\n}","variables":"{\n\t\"advertPageSize\": 50,\n\t\"advertEndCursor\": null,\n\t\"variantPageSize\": 5,\n\t\"variantEndCursor\": null,\n\t\"keywords\": \"dog food\"\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"advertsWhere (Search by Variant Barcode)","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query GetProductsByVariantBarcode(\n\t$variantBarCodes: [String!]\n\t$pageSize: Int\n\t$endCursor: String\n) {\n\tadvertsWhere(\n\t\tvariantBarcodes: $variantBarCodes\n\t\tfirst: $pageSize\n\t\tafter: $endCursor\n\t) {\n\t\ttotalCount\n\t\tpageInfo {\n\t\t\t...PageInfoPartial\n\t\t}\n\t\tedges {\n\t\t\tnode {\n\t\t\t\tid\n\t\t\t\ttitle\n\t\t\t\tpublished\n\t\t\t\tdisplayable\n\t\t\t\tseller {\n\t\t\t\t\tbusinessName\n\t\t\t\t}\n\t\t\t\tvariants(displayableOnly: false, first: $pageSize) {\n\t\t\t\t\ttotalCount\n\t\t\t\t\tpageInfo {\n\t\t\t\t\t\t...PageInfoPartial\n\t\t\t\t\t}\n\t\t\t\t\tedges {\n\t\t\t\t\t\tnode {\n\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\tlabel\n\t\t\t\t\t\t\tcountOnHand\n\t\t\t\t\t\t\tbarcode\n\t\t\t\t\t\t\tsku\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\nfragment PageInfoPartial on PageInfo {\n\thasNextPage\n\tendCursor\n}","variables":"{\n\t\"pageSize\": 50,\n\t\"endCursor\" : null,\n\t\"variantBarCodes\": [\n\t\t\"abc1234\",\n\t\t\"122222\"\n\t]\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"allAdverts (Get Products by updated date)","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query AllProductsByUpdatedAtDate(\n\t$updatedSince: ISO8601DateTime\n\t$pageSize: Int\n\t$endCursor: String\n) {\n\tallAdverts(updatedSince: $updatedSince, first: $pageSize, after: $endCursor) {\n\t\tnodes {\n\t\t\t__typename\n\t\t\t... on Advert {\n\t\t\t\tid\n\t\t\t\ttitle\n\t\t\t\tupdatedAt\n\n\t\t\t\timages {\n\t\t\t\t\tnodes {\n\t\t\t\t\t\turl(width: 100, height: 100, fit: clip)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tvariants(displayableOnly: false, first: $pageSize) {\n\t\t\t\t\tnodes {\n\t\t\t\t\t\tid\n\t\t\t\t\t}\n\t\t\t\t\tpageInfo {\n\t\t\t\t\t\t...PageInfoPartial\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t... on UnpublishedAdvert {\n\t\t\t\tid\n\t\t\t\tupdatedAt\n\t\t\t\tvariants(first: $pageSize) {\n\t\t\t\t\tnodes {\n\t\t\t\t\t\tid\n\t\t\t\t\t}\n\t\t\t\t\tpageInfo {\n\t\t\t\t\t\t...PageInfoPartial\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tdetails {\n\t\t\t\t\ttitle\n\t\t\t\t}\n\t\t\t}\n\t\t\t... on DeletedAdvert {\n\t\t\t\tid\n\t\t\t\tupdatedAt\n\t\t\t\tvariants(first: 5) {\n\t\t\t\t\tnodes {\n\t\t\t\t\t\tid\n\t\t\t\t\t}\n\t\t\t\t\tpageInfo {\n\t\t\t\t\t\t...PageInfoPartial\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tpageInfo {\n\t\t\t...PageInfoPartial\n\t\t}\n\t}\n}\n\nfragment PageInfoPartial on PageInfo {\n\thasNextPage\n\tendCursor\n}","variables":"{\n\t\"pageSize\": 50,\n\t\"endCursor\": null,\n\t\"updatedSince\": \"2023-11-30T09:05:57+11:00\"\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}]},{"name":"Chat","item":[{"name":"Confirm Read of Operator Messages","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation ConfirmReadOfOperatorMessages($sentBy: String!) {\n  chatMessageRead(input: { sentBy: $sentBy }) {\n    chatMessage {\n      id\n    }\n    errors {\n      messages\n      field\n    }\n  }\n}","variables":"{\n\t\"sentBy\": \"Admin\"\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Get Chat Messages With Operator","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query GetChatMessagesWithOperator($pageSize: Int, $endCursor: String) {\n  chatMessages(first: $pageSize, after: $endCursor) {\n    totalCount\n    pageInfo {\n      hasNextPage\n      endCursor\n    }\n    nodes {\n      id\n      createdAt\n      message\n      readAt\n      seller {\n        businessName\n      }\n      sentByType\n    }\n  }\n}","variables":"{\n\t\"pageSize\": 10,\n\t\"endCursor\": null\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Send Message to Operator","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation SendMessageToOperator($message: String!) {\n  chatMessageCreate(input: { message: $message }) {\n    chatMessage {\n      id\n    }\n    errors {\n      field\n      messages\n    }\n  }\n}","variables":"{\n\t\"message\": \"Can you check when my remittance will be paid\"\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}]},{"name":"Custom Fields","item":[{"name":"Get Custom Field Groups","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query GetCustomFieldGroups (\n\t$pageSizeGroups: Int, \n\t$afterCursorGroups: String\n\t$pageSizeFields: Int,\n\t$afterCursorFields: String\n){\n\tcustomFieldGroups (first: $pageSizeGroups after: $afterCursorGroups){\n\t\tnodes {\n\t\t\tid\n\t\t\tname\n\t\t\tdescription\n\t\t\tentity\n\t\t\tcustomFields (first: $pageSizeFields after: $afterCursorFields ) {\n\t\t\t\tnodes {\n\t\t\t\t\tid\n\t\t\t\t\tname\n\t\t\t\t\tdescription\n\t\t\t\t\tplaceholder\n\t\t\t\t\tfieldType\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tpageInfo{\n\t\t\t...PageInfoPartial\n\t\t}\n\t}\n}\n\nfragment PageInfoPartial on PageInfo {\n\thasNextPage\n\tendCursor\n}","variables":"{\n\t\"pageSizeGroups\": 50,\n\t\"afterCursorGroups\": \"\",\n\t\"pageSizeFields\": 10,\n\t\"afterCursorFields\": \"\"\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Get a Single Custom Field Group By Id","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query GetASingleCustomFieldGroup (\n\t$customFieldGroupId: ID!\n\t$pageSizeFields: Int\n\t$afterCursorFields: String\n) {\n\tnode(id: $customFieldGroupId) {\n\t\t... on CustomFieldGroup {\n\t\t\tid\n\t\t\tname\n\t\t\tdescription\n\t\t\tentity\n\t\t\tcustomFields (first: $pageSizeFields after: $afterCursorFields){\n\t\t\t\tedges {\n\t\t\t\t\tnode {\n\t\t\t\t\t\tid\n\t\t\t\t\t\tname\n\t\t\t\t\t\tdescription\n\t\t\t\t\t\tplaceholder\n\t\t\t\t\t\tfieldType\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tpageInfo{\n\t\t\t\t\t...PageInfoPartial\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\nfragment PageInfoPartial on PageInfo {\n\thasNextPage\n\tendCursor\n}","variables":"{\n\t\"customFieldGroupId\": \"Q3VzdG9tRmllbGRHcm91cC0x\",\n\t\"pageSizeFields\": 10,\n\t\"afterCursorFields\": \"\"\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Get a Single Custom Field by Id","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query GetASingleCustomField($customFieldId: ID!) {\n\tnode(id: $customFieldId) {\n\t\t... on CustomField {\n\t\t\tid\n\t\t\tname\n\t\t\tdescription\n\t\t}\n\t}\n}","variables":"{\n\t\"customFieldId\": \"Q3VzdG9tRmllbGQtMg==\"\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}]},{"name":"Introspection","item":[{"name":"Introspection","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query IntrospectionQuery {\n\t__schema {\n\t\tqueryType {\n\t\t\tname\n\t\t}\n\t\tmutationType {\n\t\t\tname\n\t\t}\n\t\tsubscriptionType {\n\t\t\tname\n\t\t}\n\t\ttypes {\n\t\t\t...FullType\n\t\t}\n\t\tdirectives {\n\t\t\tname\n\t\t\tdescription\n\t\t\tlocations\n\t\t\targs {\n\t\t\t\t...InputValue\n\t\t\t}\n\t\t}\n\t}\n}\nfragment FullType on __Type {\n\tkind\n\tname\n\tdescription\n\tfields(includeDeprecated: true) {\n\t\tname\n\t\tdescription\n\t\targs {\n\t\t\t...InputValue\n\t\t}\n\t\ttype {\n\t\t\t...TypeRef\n\t\t}\n\t\tisDeprecated\n\t\tdeprecationReason\n\t}\n\tinputFields(includeDeprecated: true) {\n\t\t...InputValue\n\t\tisDeprecated\n\t\tdeprecationReason\n\t}\n\tinterfaces {\n\t\t...TypeRef\n\t}\n\tenumValues(includeDeprecated: true) {\n\t\tname\n\t\tdescription\n\t\tisDeprecated\n\t\tdeprecationReason\n\t}\n\tpossibleTypes {\n\t\t...TypeRef\n\t}\n}\nfragment InputValue on __InputValue {\n\tname\n\tdescription\n\ttype {\n\t\t...TypeRef\n\t}\n\tdefaultValue\n}\nfragment TypeRef on __Type {\n\tkind\n\tname\n\tofType {\n\t\tkind\n\t\tname\n\t\tofType {\n\t\t\tkind\n\t\t\tname\n\t\t\tofType {\n\t\t\t\tkind\n\t\t\t\tname\n\t\t\t\tofType {\n\t\t\t\t\tkind\n\t\t\t\t\tname\n\t\t\t\t\tofType {\n\t\t\t\t\t\tkind\n\t\t\t\t\t\tname\n\t\t\t\t\t\tofType {\n\t\t\t\t\t\t\tkind\n\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\tofType {\n\t\t\t\t\t\t\t\tkind\n\t\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}","variables":""}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}]},{"name":"Invoice Annotations","item":[{"name":"Invoice Annotation Create","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation InvoiceAnnotationCreate(\n\t$invoiceId: ID!\n\t$invoiceAnnotationTypeId: ID!\n\t$attributes: InvoiceAnnotationInput!\n) {\n\tinvoiceAnnotationCreate(\n\t\tinput: {\n\t\t\tinvoiceId: $invoiceId\n\t\t\tinvoiceAnnotationTypeId: $invoiceAnnotationTypeId\n\t\t\tattributes: $attributes\n\t\t}\n\t) {\n\t\terrors {\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t\tinvoiceAnnotation {\n\t\t\tid\n\t\t}\n\t}\n}","variables":"{\n\t\"invoiceId\": \"SW52b2ljZS0xMDAwMA==\",\n\t\"invoiceAnnotationTypeId\": \"SW52b2ljZUFubm90YXRpb25UeXBlLTg=\",\n\t\"attributes\": {\n\t\t\"content\": \"Courier Picked Up\",\n\t\t\"resolved\": false\n\t}\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Invoice Annotation Resolve","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation InvoiceAnnotationResolve ($invoiceAnnotationId: ID!){\n\tinvoiceAnnotationResolve(input:\n\t\t{\n\t\t\tinvoiceAnnotationId: $invoiceAnnotationId\n\t\t})\n\t{\n\t\terrors{\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t\tinvoiceAnnotation{\n\t\t\tid\n\t\t}\n\t}\n}","variables":"{\n\t\"invoiceAnnotationId\": \"SW52b2ljZUFubm90YXRpb25UeXBlLTg=\"\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}]},{"name":"Nodes","item":[{"name":"Get a list of objects that implement node","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query GetAllNodeTypes{\n  __type(name: \"Node\") {\n    possibleTypes {\n      name\n    }\n  }\n}","variables":""}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Node Query for (Multiple) Orders","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query GetOrdersById($ids: [ID!]!){\n  nodes(ids: $ids)\n  {\n    ... on Order {\n      __typename\n      id\n      status\n    }\n  }\n}","variables":"{\n\t\"ids\": [\n\t\t\"T3JkZXItMTAwMDA=\",\n\t\t\"T3JkZXItMTAwNjk=\",\n\t\t\"T3JkZXItMTAwNzQ=\"\n\t]\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Node Query for (Single) Advert","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query GetAProductById($id: ID!, $pageSize: Int, $endCursor: String) {\n\tnode(id: $id) {\n\t\t... on Advert {\n\t\t\tid\n\t\t\tlegacyId\n\t\t\ttitle\n\t\t\tdisplayable\n\t\t\tpublished\n\t\t\tvariants(displayableOnly: false, first: $pageSize, after: $endCursor) {\n\t\t\t\tnodes {\n\t\t\t\t\tid\n\t\t\t\t\tlegacyId\n\t\t\t\t\tlabel\n\t\t\t\t\tsku\n\t\t\t\t\tlowestPrice\n\t\t\t\t\tlowestOriginalPrice\n\t\t\t\t\tcountOnHand\n\t\t\t\t\tdisplayable\n\t\t\t\t\tcountOnHand\n\t\t\t\t\tpublished\n\t\t\t\t\tbuyable\n\t\t\t\t}\n\t\t\t\tpageInfo{\n\t\t\t\t\t...PageInfoPartial\n\t\t\t\t}\n\t\t\t}\n\t\t\tseller {\n\t\t\t\tbusinessName\n\t\t\t}\n\t\t}\n\t}\n}\n\nfragment PageInfoPartial on PageInfo {\n\thasNextPage\n\tendCursor\n}","variables":"{\n\t\"pageSize\": 3,\n\t\"endCursor\" : null,\n\t\"id\": \"QWR2ZXJ0LTEwMDA5MjkwNw==\"\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}]},{"name":"Orders and Invoices","item":[{"name":"Get Invoices Created Since","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query GetInvoicesCreatedSince($pageSize: Int $endCursor: String, $filters: InvoiceFilters){\n  invoices(first : $pageSize, after: $endCursor filters: $filters){ \n\t\tnodes{\n\t\t\tid\n\t\t\tcreatedAt\n\t\t\tstatusFlags\n\t\t\tlineItems{\n\t\t\t\tid\n\t\t\t\tquantity\n\t\t\t\tquantityAwaitingDispatch\n\t\t\t}\n\t\t}\n\t}\n}","variables":"{\n\t\"pageSize\": 5,\n\t\"endCursor\": null,\n\t\"filters\": {\n\t\t\"createdSince\": \"2022-08-04T11:25:08-07:00\"\n\t}\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Get Invoices Not Dispatched","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query GetInvoicesNotDispatched($pageSize: Int $endCursor: String, $filters: InvoiceFilters){\n  invoices(first : $pageSize, after: $endCursor filters: $filters){ \n\t\tnodes{\n\t\t\tid\n\t\t\tcreatedAt\n\t\t\tstatusFlags\n\t\t\tlineItems{\n\t\t\t\tid\n\t\t\t\tquantity\n\t\t\t\tquantityAwaitingDispatch\n\t\t\t}\n\t\t}\n\t}\n}","variables":"{\n\t\"pageSize\": 5,\n\t\"endCursor\": null,\n\t\"filters\": {\n\t\t\"notDispatched\": true\n\t}\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Get Invoices Remitted Since","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query GetInvoicesRemittedSince($pageSize: Int $endCursor: String, $filters: InvoiceFilters){\n  invoices(first : $pageSize, after: $endCursor filters: $filters){ \n\t\tnodes{\n\t\t\tid\n\t\t\tcreatedAt\n\t\t\tstatusFlags\n\t\t\tlineItems{\n\t\t\t\tid\n\t\t\t\tquantity\n\t\t\t\tquantityAwaitingDispatch\n\t\t\t}\n\t\t}\n\t}\n}","variables":"{\n\t\"pageSize\" : 5,\n\t\"endCursor\": null,\n\t\"filters\" : {\n\t\t\"remittedSince\" : \"2022-08-04T11:25:08-07:00\"\n\t}\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Get Invoices with Filtering and Ordering","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query GetInvoicesWithFilteringAndOrdering \n(\n\t$pageSize: Int\n\t$endCursor: String\n\t$sort: InvoiceSort\n\t$filters: InvoiceFilters\n){\n\tinvoices(\n\t\tfirst: $pageSize\n\t\tafter: $endCursor\n\t\tfilters: $filters\n\t\tsort: $sort\n\t) {\n\t\ttotalCount\n\t\tpageInfo {\n\t\t\t...PageInfoPartial\n\t\t}\n\t\tedges {\n\t\t\tnode {\n\t\t\t\tid\n\t\t\t\tlegacyId\n\t\t\t\tcreatedAt\n\t\t\t\tupdatedAt\n\t\t\t\torder {\n\t\t\t\t\tupdatedAt\n\t\t\t\t\tid\n\t\t\t\t}\n\t\t\t\tstatusFlags\n\t\t\t\tlineItems {\n\t\t\t\t\tid\n\t\t\t\t\tvariantId\n\t\t\t\t\tvariantSku\n\t\t\t\t\tvariantBarcode\n\t\t\t\t\tvariantName\n\t\t\t\t\ttotalCents\n\t\t\t\t}\n\t\t\t\tshipments {\n\t\t\t\t\tid\n\t\t\t\t\tdispatchedAt\n\t\t\t\t\tshippedItems {\n\t\t\t\t\t\tid\n\t\t\t\t\t\tlineItem {\n\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\tadvertTitle\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\nfragment PageInfoPartial on PageInfo {\n\thasNextPage\n\tendCursor\n}\n","variables":"{\n\t\"pageSize\": 100,\n\t\"endCursor\": \"\",\n\t\"sort\": {\n\t\t\"fields\": [\n\t\t\t\"UPDATED_AT\"\n\t\t],\n\t\t\"ordering\": \"DESCENDING\"\n\t},\n\t\"filters\": {\n\t\t\"updatedSince\": \"2022-01-01\"\n\t}\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}]},{"name":"Promotions","item":[{"name":"Promotion Upsert","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation CreatePromotion($input: PromotionUpsertMutationInput!){\n\tpromotionUpsert(\n\t\tinput: $input\n\t) {\n\t\terrors {\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t\tpromotion {\n\t\t\tid\n\t\t\tname\n\t\t}\n\t}\n}","variables":"{\n\t\"input\": {\n\t\t\"attributes\": {\n\t\t\t\"name\": \"10% Off\",\n\t\t\t\"description\": \"10% off site wide\",\n\t\t\t\"discountAmount\": 10,\n\t\t\t\"discountType\": \"PERCENT\",\n\t\t\t\"brandsExcludedIds\": [\n\t\t\t\t\"QnJhbmQtNA==\",\n\t\t\t\t\"QnJhbmQtMTk=\"\n\t\t\t],\n\t\t\t\"categoriesIncludedIds\": [\n\t\t\t\t\"VGF4b24tNzg=\"\n\t\t\t]\n\t\t}\n\t}\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Promotions Query","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query PromotionQuery($status: String, $pageSize: Int, $endCursor: String) {\n\tpromotions(status: $status, first: $pageSize, after: $endCursor) {\n\t\ttotalCount\n\t\tpageInfo {\n\t\t\thasNextPage\n\t\t\tendCursor\n\t\t}\n\t\tnodes  {\n\t\t\tid\n\t\t\tseller {\n\t\t\t\tid\n\t\t\t\tbusinessName\n\t\t\t}\n\t\t\tname\n\t\t\tteaser\n\t\t\tdescription\n\t\t\tstartDate\n\t\t\tendDate\n\t\t\tminimumSpend\n\t\t\tmaximumSpend\n\t\t\tsuspended\n\t\t\tdiscountType\n\t\t\tdiscountAmount\n\t\t\tfreeShipping\n\t\t\tcostPercentageBorneByMarketplace\n\t\t\tloyaltyProgramLevels (first: $pageSize, after: $endCursor){\n\t\t\t\tnodes {\n\t\t\t\t\tname\n\t\t\t\t}\n\t\t\t\tpageInfo{\n\t\t\t\t\t...PageInfoPartial\n\t\t\t\t}\n\t\t\t}\n\t\t\tfreeShippingDomesticOnly\n\t\t\tbrandsIncluded (first: $pageSize, after: $endCursor){\n\t\t\t\tedges {\n\t\t\t\t\tnode {\n\t\t\t\t\t\tname\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tpageInfo{\n\t\t\t\t\t...PageInfoPartial\n\t\t\t\t}\n\t\t\t}\n\t\t\tbrandsExcluded (first: $pageSize, after: $endCursor){\n\t\t\t\tedges {\n\t\t\t\t\tnode {\n\t\t\t\t\t\tname\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tpageInfo{\n\t\t\t\t\t...PageInfoPartial\n\t\t\t\t}\n\t\t\t}\n\t\t\tcategoriesIncluded (first: $pageSize, after: $endCursor){\n\t\t\t\tedges {\n\t\t\t\t\tnode {\n\t\t\t\t\t\tdisplayName\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tpageInfo{\n\t\t\t\t\t...PageInfoPartial\n\t\t\t\t}\n\t\t\t}\n\t\t\tcategoriesExcluded (first: $pageSize, after: $endCursor){\n\t\t\t\tedges {\n\t\t\t\t\tnode {\n\t\t\t\t\t\tdisplayName\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tadvertsIncluded (first: $pageSize, after: $endCursor){\n\t\t\t\tedges {\n\t\t\t\t\tnode {\n\t\t\t\t\t\tdescription\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tpageInfo{\n\t\t\t\t\t...PageInfoPartial\n\t\t\t\t}\n\t\t\t}\n\t\t\tadvertsExcluded (first: $pageSize, after: $endCursor) {\n\t\t\t\tedges {\n\t\t\t\t\tnode {\n\t\t\t\t\t\tdescription\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tpageInfo{\n\t\t\t\t\t...PageInfoPartial\n\t\t\t\t}\n\t\t\t}\n\t\t\tvariantsIncluded (first: $pageSize, after: $endCursor){\n\t\t\t\tedges {\n\t\t\t\t\tnode {\n\t\t\t\t\t\tsku\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tpageInfo{\n\t\t\t\t\t...PageInfoPartial\n\t\t\t\t}\n\t\t\t}\n\t\t\tvariantsExcluded (first: $pageSize, after: $endCursor) {\n\t\t\t\tedges {\n\t\t\t\t\tnode {\n\t\t\t\t\t\tsku\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tpageInfo{\n\t\t\t\t\t...PageInfoPartial\n\t\t\t\t}\n\t\t\t}\n\t\t\tsaleItemsExcluded\n\t\t}\n\t}\n}\n\nfragment PageInfoPartial on PageInfo {\n\thasNextPage\n\tendCursor\n}\n","variables":"{\n\t\"status\": \"active\",\n\t\"pageSize\": 10,\n\t\"endCursor\": \"\"\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}]},{"name":"Refunds (Advanced Flow)","item":[{"name":"Create Return Shipment - Base 64 Attachments","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation createReturnShipment ($input: ReturnShipmentCreateMutationInput!){\n\treturnShipmentCreate(\n\t\tinput: $input\n\t) {\n\t\tshipment {\n\t\t\tid\n\t\t\tcarrier {\n\t\t\t\tname\n\t\t\t\ttrackingUrl\n\t\t\t}\n\t\t\tattachments {\n\t\t\t\turl\n\t\t\t\talt\n\t\t\t}\n\t\t}\n\t\terrors {\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t}\n}","variables":"{\n\t\"input\": {\n\t\t\"refundRequestId\" : \"UmVmdW5kUmVxdWVzdC01Mjc=\",\n\t\t\"carrierId\" : \"U2hpcG1lbnRDYXJyaWVyLTcw\",\n\t\t\"trackingNumber\": \"ABC-1234\",\n\t\t\"shippedItems\": [\n\t\t\t{\n\t\t\t\t\"lineItemId\" : \"UmVmdW5kUmVxdWVzdExpbmVJdGVtLTc1Ng==\",\n\t\t\t\t\"quantity\": 1\n\t\t\t}\n\t\t],\n\t\t\"attachments\": [\n\t\t\t{\n\t\t\t\t\"filename\": \"packing_slip.jpg\",\n\t\t\t\t\"dataBase64\": \"<BASE 64 STRING HERE>\"\n\t\t\t}\n\t\t]\n\t}\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Create Return Shipment - URL Attachments","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation createReturnShipment ($input: ReturnShipmentCreateMutationInput!){\n\treturnShipmentCreate(\n\t\tinput: $input\n\t) {\n\t\tshipment {\n\t\t\tid\n\t\t\tcarrier {\n\t\t\t\tname\n\t\t\t\ttrackingUrl\n\t\t\t}\n\t\t\tattachments {\n\t\t\t\turl\n\t\t\t\talt\n\t\t\t}\n\t\t}\n\t\terrors {\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t}\n}","variables":"{\n\t\"input\": {\n\t\t\"refundRequestId\": \"UmVmdW5kUmVxdWVzdC01Mjc=\",\n\t\t\"carrierId\": \"U2hpcG1lbnRDYXJyaWVyLTcw\",\n\t\t\"trackingNumber\": \"ABC-1234\",\n\t\t\"shippedItems\": [\n\t\t\t{\n\t\t\t\t\"lineItemId\": \"UmVmdW5kUmVxdWVzdExpbmVJdGVtLTc1Ng==\",\n\t\t\t\t\"quantity\": 1\n\t\t\t}\n\t\t],\n\t\t\"attachments\": [\n\t\t\t{\n\t\t\t\t\"sourceUrl\": \"<YOUR PUBLIC IMAGE URL>\",\n\t\t\t\t\"alt\": \"Packing Slip\"\n\t\t\t}\n\t\t]\n\t}\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Refund Request Create (Advanced)","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation RefundRequestCreate ($input: RefundRequestCreateMutationInput!){\n\trefundRequestCreate(\n\t\tinput: $input\n\t) {\n\t\trefundRequest {\n\t\t\tid\n\t\t\tstatus\n\t\t}\n\t\terrors {\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t}\n}\n","variables":"{\n  \"input\": {\n    \"invoiceId\": \"SW52b2ljZS0xMzQ2NA==\",\n    \"lineItems\": [\n      {\n        \"lineItemId\": \"TGluZUl0ZW0tMzgyNQ==\",\n        \"reason\": \"Buyer changed their mind\",\n        \"quantity\": 1,\n        \"status\": \"PENDING_APPROVAL\"\n      }\n    ],\n    \"notes\": [\n      {\n        \"note\": \"Change of mind within T&Cs\"\n      }\n    ]\n  }\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Refund Request Line Item Accept","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation RefundRequestLineItemAccept(\n\t$input: RefundRequestLineItemAcceptMutationInput!\n) {\n\trefundRequestLineItemAccept(input: $input) {\n\t\trefundRequestLineItem {\n\t\t\tstatus\n\t\t}\n\t\terrors {\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t}\n}","variables":"{\n  \"input\": {\n    \"refundRequestLineItemId\": \"UmVmdW5kUmVxdWVzdExpbmVJdGVtLTc5MA==\",\n    \"notes\": [\n      {\n        \"note\": \"This item does not need to be returned.\"\n      }\n    ]\n  }\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Refund Request Line Item Deny","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation RefundRequestLineItemDeny(\n\t$input: RefundRequestLineItemDenyMutationInput!\n) {\n\trefundRequestLineItemDeny(input: $input) {\n\t\terrors {\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t}\n}\n","variables":"{\n  \"input\": {\n    \"refundRequestLineItemId\": \"UmVmdW5kUmVxdWVzdExpbmVJdGVtLTc5MA==\",\n    \"denyRefundReason\": \"Refund window exceeded\",\n    \"notes\": [\n      {\n        \"note\": \"Refund request went beyone the refund window\"\n      }\n    ]\n  }\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Refund Request Line Item Return","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation RefundRequestLineItemReturn($input: RefundRequestLineItemReturnMutationInput!) {\n\trefundRequestLineItemReturn(\n\t\tinput: $input\n\t) {\n\t\trefundRequestLineItem {\n\t\t\tstatus\n\t\t}\n\t\terrors {\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t}\n}\n","variables":"{\n  \"input\": {\n    \"refundRequestLineItemId\": \"UmVmdW5kUmVxdWVzdExpbmVJdGVtLTc5MA==\",\n    \"notes\": [\n      {\n        \"note\": \"This item does not need to be returned.\"\n      }\n    ]\n  }\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}]},{"name":"Refunds and Invoice Amendments","item":[{"name":"Get Refund Request by Id","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query GetRefundRequestById($id: ID!) {\n\tnode(id: $id) {\n\t\t... on RefundRequest {\n\t\t\tid\n\t\t\tlegacyId\n\t\t\tinvoice {\n\t\t\t\tid\n\t\t\t\tlegacyId\n\t\t\t}\n\t\t\tstatus\n\t\t\tinitiatedBy\n\t\t\trefundedAt\n\t\t\tlineItemAmountTotalCents\n\t\t\tlineItemTaxTotalCents\n\t\t\tcommissionAmountTotalCents\n\t\t\tcommissionTaxTotalCents\n\t\t\tremittanceAmountTotalCents\n\t\t\tremittanceTaxTotalCents\n\t\t\tlineItems {\n\t\t\t\tid\n\t\t\t\tlineItemAmountCents\n\t\t\t\tlineItemTaxCents\n\t\t\t\tcommissionAmountCents\n\t\t\t\tcommissionTaxCents\n\t\t\t\tremittanceAmountCents\n\t\t\t\tremittanceTaxCents\n\t\t\t}\n\t\t\tnotes {\n\t\t\tid,\n\t\t\t}\n\t\t\tshipments {\n\t\t\t\tid\n\t\t\t}\n\t\t\tcreatedAt\n\t\t\tupdatedAt\n\t\t}\n\t}\n}","variables":"{\n\t\"id\": \"UmVmdW5kUmVxdWVzdC01NTE=\"\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Get Refund Requests Updated Since","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query GetRefundRequestsUpdatedSince\n($pageSize: Int $endCursor: String $updatedSince: ISO8601DateTime!)\n{\n  updatedRefundRequests\n\t(\n\t\tupdatedSince: $updatedSince\n\t\tfirst: $pageSize\n\t\tafter: $endCursor\n\t\n\t)\n  {\n    edges{\n      node{\n        id\n        status\n        cashAmountCents\n        createdAt\n        refundedAt\n        updatedAt\n        giftCardAmountCents\n        recoveredAmountCents\n        refundAmountCents\n        totalCents\n        initiatedBy\n        invoice{\n          id\n        }\n        lineItems{\n          id\n          amountCents\n          amountPerItemCents\n          onlyRemittance\n          quantity\n          reason \n        }\n      }  \n    }\n\t\tpageInfo{\n\t\t\thasNextPage\n\t\t\tendCursor\n\t\t}\n  }\n}","variables":"{\n  \"pageSize\": 50,\n  \"endCursor\": \"\",\n  \"updatedSince\": \"2021-08-05\"\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Query Refund Requests with Filters","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query QueryRefundRequestsWithFilters ($pageSize: Int $endCursor: String $filters: RefundRequestFilters){\n\trefundRequests(filters: $filters first: $pageSize after: $endCursor) {\n\t\tedges {\n\t\t\tnode {\n\t\t\t\tstatus\n\t\t\t\tid\n\t\t\t\tlegacyId\n\t\t\t\tinvoice {\n\t\t\t\t\tlegacyId\n\t\t\t\t}\n\t\t\t\tlineItems {\n\t\t\t\t\tid\n\t\t\t\t\treason\n\t\t\t\t\tamountCents\n\t\t\t\t\tlineItem {\n\t\t\t\t\t\tid\n\t\t\t\t\t}\n\t\t\t\t\tonlyRemittance\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tpageInfo{\n\t\t\thasNextPage\n\t\t\tendCursor\n\t\t}\n\t}\n}","variables":"{\n  \"pageSize\": 100,\n  \"endCursor\": \"\",\n  \"filters\": {\n    \"statuses\": [\n      \"REFUNDED\",\n      \"PROCESSED\"\n    ],\n    \"buyerName\": \"Jackson\"\n  }\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Refund Request Create (Custom)","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation RefundRequestCreateCustom($input: RefundRequestCreateMutationInput!) {\n\trefundRequestCreate(input: $input) {\n\t\trefundRequest {\n\t\t\tid\n\t\t\tstatus\n\t\t}\n\t\terrors {\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t}\n}","variables":"{\n  \"input\": {\n    \"invoiceId\": \"SW52b2ljZS0xMzQ0OA==\",\n    \"lineItems\": [\n      {\n        \"custom\": \"Goodwill refund gesture for loyal customer\",\n        \"amountPerItemCents\": -100,\n        \"quantity\": 1\n      }\n    ],\n    \"notes\": [\n      {\n        \"note\": \"Change of mind within T&Cs\"\n      }\n    ]\n  }\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Refund Request Create (Line Item)","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation RefundRequestCreate ($input: RefundRequestCreateMutationInput!){\n  refundRequestCreate(input: $input)\n  {\n    refundRequest{\n      id\n      status\n    }\n    errors{\n      field\n      messages\n    }\n  }\n}","variables":"{\n\t\"input\": {\n\t\t\"invoiceId\": \"SW52b2ljZS0xMzQ0OA==\",\n\t\t\"lineItems\": [\n\t\t\t{\n\t\t\t\t\"lineItemId\": \"TGluZUl0ZW0tMzgwNw==\",\n\t\t\t\t\"reason\": \"Buyer changed their mind\",\n\t\t\t\t\"quantity\": 1\n\t\t\t}\n\t\t],\n\t\t\"notes\": [\n\t\t\t{\n\t\t\t\t\"note\": \"Change of mind within T&Cs\"\n\t\t\t}\n\t\t]\n\t}\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Refund Request Return","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation RefundRequestReturn($input: RefundRequestReturnMutationInput!) {\n\trefundRequestReturn(input: $input) {\n\t\trefundRequest {\n\t\t\tid\n\t\t\tstatus\n\t\t}\n\t\terrors {\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t}\n}","variables":"{\n  \"input\": {\n    \"refundRequestId\": \"UmVmdW5kUmVxdWVzdC01NTE=\",\n    \"notes\": [\n      {\n        \"note\": \"Item returned in good condition\"\n      }\n    ]\n  }\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}]},{"name":"Remittances","item":[{"name":"Get Remittances by createdSince date","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query GetRemittancesByCreatedSinceDate(\n\t$pageSize: Int\n\t$endCursor: String\n\t$createdSince: ISO8601DateTime\n) {\n\tremittances(\n\t\tfirst: $pageSize\n\t\tafter: $endCursor\n\t\tcreatedSince: $createdSince\n\t) {\n\t\tedges {\n\t\t\tnode {\n\t\t\t\tamountCents\n\t\t\t\t#This section pulls in invoices based on their remited date\n\n\t\t\t\tinvoice {\n\t\t\t\t\tid\n\t\t\t\t\tlegacyId\n\t\t\t\t\tremittedAt\n\t\t\t\t\t#total remittance= totalCents-comissionAmountCents-merchantFeeCents-shippingCostCents-taxTotalCents\n\t\t\t\t\ttotalCents\n\t\t\t\t\tcommissionAmountCents\n\t\t\t\t\tmerchantFeeCents\n\t\t\t\t\tshippingCostCents\n\t\t\t\t\ttaxTotalCents\n\t\t\t\t\tlineItems {\n\t\t\t\t\t\tid\n\t\t\t\t\t\t#total remittance= totalCents-comissionAmountCent-postageCents-taxTotalCents\n\t\t\t\t\t\ttotalCents\n\t\t\t\t\t\titemAmountCents\n\t\t\t\t\t\tsubtotalCents\n\t\t\t\t\t\tcommissionAmountCents\n\t\t\t\t\t\tpostageCents\n\t\t\t\t\t\ttaxTotalCents\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t#This section pulls in amendments based on their remited date\n\t\t\t\tinvoiceAmendment {\n\t\t\t\t\tid\n\t\t\t\t\tlegacyId\n\t\t\t\t\tremittedAt\n\t\t\t\t\ttotalCents\n\t\t\t\t\tremittanceCents\n\t\t\t\t\t#this section pulls in the invoice the invoice ammendment is related to so operators could tie the amendments\n\t\t\t\t\tinvoice {\n\t\t\t\t\t\tlegacyId\n\t\t\t\t\t\tremittedAt\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}","variables":"{\n  \"pageSize\": 50,\n  \"endCursor\": \"\",\n  \"createdSince\": \"2022-01-22T09:30:46-08:00\"\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Remittance Advices","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query RemittanceAdvices(\n\t$pageSize: Int\n\t$endCursor: String\n\t$createdSince: ISO8601DateTime\n) {\n\tremittanceAdvices(\n\t\tfirst: $pageSize\n\t\tafter: $endCursor\n\t\tcreatedSince: $createdSince\n\t) {\n\t\tedges {\n\t\t\tnode {\n\t\t\t\t# Summary attributes that MKP Generats\n\t\t\t\ttotalCents\n\t\t\t\tcreatedAt\n\t\t\t\tid\n\t\t\t\tlegacyId\n\t\t\t\t# Summary attributes that can be updated by operator using remittanceAdviceUpdate\n\t\t\t\ttotalPaidCents\n\t\t\t\tpaidAt\n\t\t\t\tpaymentReference\n\t\t\t\tattachments {\n\t\t\t\t\tfilename\n\t\t\t\t}\n\t\t\t\t#seller\n\t\t\t\tseller {\n\t\t\t\t\tid\n\t\t\t\t}\n\t\t\t\t#remittances included in remittanceAdvice\n\t\t\t\tremittances {\n\t\t\t\t\tinvoice {\n\t\t\t\t\t\tid\n\t\t\t\t\t}\n\t\t\t\t\tinvoiceAmendment {\n\t\t\t\t\t\tid\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","variables":"{\n  \"pageSize\": 10,\n  \"endCursor\": \"\",\n  \"createdSince\": \"2022-02-02\"\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Remittances with Line Item Breakdown","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query GetRemittancesWithLineItemBreakdown(\n\t$pageSize: Int\n\t$endCursor: String\n\t$createdSince: ISO8601DateTime\n) {\n\tremittances(\n\t\tfirst: $pageSize\n\t\tafter: $endCursor\n\t\tcreatedSince: $createdSince\n\t) {\n\t\tedges {\n\t\t\tnode {\n\t\t\t\tamountCents\n\t\t\t\t#This section pulls in invoices based on their remited date\n\n\t\t\t\tinvoice {\n\t\t\t\t\tid\n\t\t\t\t\tlegacyId\n\t\t\t\t\tremittedAt\n\t\t\t\t\t#total remittance= totalCents-comissionAmountCents-merchantFeeCents-shippingCostCents-taxTotalCents\n\t\t\t\t\ttotalCents\n\t\t\t\t\tcommissionAmountCents\n\t\t\t\t\tmerchantFeeCents\n\t\t\t\t\tshippingCostCents\n\t\t\t\t\ttaxTotalCents\n\t\t\t\t\tlineItems {\n\t\t\t\t\t\tid\n\t\t\t\t\t\t#total remittance= totalCents-comissionAmountCent-postageCents-taxTotalCents\n\t\t\t\t\t\ttotalCents\n\t\t\t\t\t\titemAmountCents\n\t\t\t\t\t\tsubtotalCents\n\t\t\t\t\t\tcommissionAmountCents\n\t\t\t\t\t\tpostageCents\n\t\t\t\t\t\ttaxTotalCents\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t#This section pulls in amendments based on their remited date\n\t\t\t\tinvoiceAmendment {\n\t\t\t\t\tid\n\t\t\t\t\tlegacyId\n\t\t\t\t\tremittedAt\n\t\t\t\t\ttotalCents\n\t\t\t\t\tremittanceCents\n\t\t\t\t\tlineItemAmountTotalCents\n\t\t\t\t\tlineItemTaxTotalCents\n\t\t\t\t\tcommissionAmountTotalCents\n\t\t\t\t\tcommissionTaxTotalCents\n\t\t\t\t\tremittanceAmountTotalCents\n\t\t\t\t\tremittanceTaxTotalCents\n\t\t\t\t\tlineItems {\n\t\t\t\t\t\tamountCents\n\t\t\t\t\t\ttaxCents\n\t\t\t\t\t\ttotalCents\n\t\t\t\t\t\tlineItemAmountCents\n\t\t\t\t\t\tlineItemTaxCents\n\t\t\t\t\t\tcommissionAmountCents\n\t\t\t\t\t\tcommissionTaxCents\n\t\t\t\t\t\tremittanceAmountCents\n\t\t\t\t\t\tremittanceTaxCents\n\t\t\t\t\t\tlineItem {\n\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\titemAmountCents\n\t\t\t\t\t\t\ttaxTotalCents\n\t\t\t\t\t\t\texternalIds {\n\t\t\t\t\t\t\t\tkey\n\t\t\t\t\t\t\t\tvalue\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t#this section pulls in the invoice the invoice ammendment is related to so operators could tie the amendments\n\t\t\t\t\tinvoice {\n\t\t\t\t\t\tlegacyId\n\t\t\t\t\t\tremittedAt\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","variables":"{\n\t\"pageSize\": 50,\n\t\"endCursor\": \"\",\n\t\"createdSince\": \"2022-01-22T09:30:46-08:00\"\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}]},{"name":"Schema Introspection","item":[{"name":"Schema Introspection","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query IntrospectionQuery {\n      __schema {\n        \n        queryType { name }\n        mutationType { name }\n        subscriptionType { name }\n        types {\n          ...FullType\n        }\n        directives {\n          name\n          description\n          \n          locations\n          args {\n            ...InputValue\n          }\n        }\n      }\n    }\n\n    fragment FullType on __Type {\n      kind\n      name\n      description\n      fields(includeDeprecated: true) {\n        name\n        description\n        args {\n          ...InputValue\n        }\n        type {\n          ...TypeRef\n        }\n        isDeprecated\n        deprecationReason\n      }\n      inputFields {\n        ...InputValue\n      }\n      interfaces {\n        ...TypeRef\n      }\n      enumValues(includeDeprecated: true) {\n        name\n        description\n        isDeprecated\n        deprecationReason\n      }\n      possibleTypes {\n        ...TypeRef\n      }\n    }\n\n    fragment InputValue on __InputValue {\n      name\n      description\n      type { ...TypeRef }\n      defaultValue\n    }\n\n    fragment TypeRef on __Type {\n      kind\n      name\n      ofType {\n        kind\n        name\n        ofType {\n          kind\n          name\n          ofType {\n            kind\n            name\n            ofType {\n              kind\n              name\n              ofType {\n                kind\n                name\n                ofType {\n                  kind\n                  name\n                  ofType {\n                    kind\n                    name\n                  }\n                }\n              }\n            }\n          }\n        }\n      }\n    }","variables":""}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}]},{"name":"Sellers","item":[{"name":"Seller Search by Business Name","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query SellerSearchByBusinessName($pageSize: Int $endCursor: String $attributes: SellerSearchInput ){\n  sellerSearch (attributes: $attributes)\n  {\n    sellers(first: $pageSize after: $endCursor){\n      edges{\n        node{\n          id\n          businessName \n        }\n      }\n\t\t\tpageInfo{\n\t\t\t\thasNextPage\n\t\t\t\tendCursor\n\t\t\t}\n    }\n  }\n}","variables":"{\n  \"pageSize\": 20,\n  \"endCursor\": null,\n  \"attributes\": {\n    \"businessName\": \"Cell Phones\"\n  }\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"User Create","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation UserCreate($input: UserCreateMutationInput!) {\n\tuserCreate(input: $input) {\n\t\tuser {\n\t\t\tid\n\t\t}\n\t\terrors {\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t}\n}","variables":"{\n  \"input\": {\n    \"sellerId\": \"U2VsbGVyLTY2MDEzNg==\",\n    \"attributes\": {\n      \"emailAddress\": \"jane.doe678@email.com\",\n      \"firstName\": \"Jane\",\n      \"surname\": \"Doe\",\n      \"username\": \"doejane\"\n    }\n  }\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"User Delete","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation SellerDelete($input: UserDeleteMutationInput!) {\n\tuserDelete(input: $input) {\n\t\terrors {\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t}\n}","variables":"{\n  \"input\": {\n    \"userId\": \"VXNlci01MzA=\"\n  }\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"User Update","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation UserUpdate($input: UserUpdateMutationInput!) {\n\tuserUpdate(input: $input) {\n\t\tuser {\n\t\t\tid\n\t\t}\n\t\terrors {\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t}\n}","variables":"{\n\t\"input\": {\n\t\t\"userId\": \"VXNlci01MzA=\",\n\t\t\"attributes\": {\n\t\t\t\"emailAddress\": \"jane.doe680@email.com\",\n\t\t\t\"firstName\": \"Jane\",\n\t\t\t\"surname\": \"Doer\",\n\t\t\t\"username\": \"doejane780\"\n\t\t}\n\t}\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}]},{"name":"Shipments","item":[{"name":"Create Return Shipment - Base 64 Attachments","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation createReturnShipment ($input: ReturnShipmentCreateMutationInput!){\n\treturnShipmentCreate(\n\t\tinput: $input\n\t) {\n\t\tshipment {\n\t\t\tid\n\t\t\tcarrier {\n\t\t\t\tname\n\t\t\t\ttrackingUrl\n\t\t\t}\n\t\t\tattachments {\n\t\t\t\turl\n\t\t\t\talt\n\t\t\t}\n\t\t}\n\t\terrors {\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t}\n}","variables":"{\n\t\"input\": {\n\t\t\"refundRequestId\" : \"UmVmdW5kUmVxdWVzdC01Mjc=\",\n\t\t\"carrierId\" : \"U2hpcG1lbnRDYXJyaWVyLTcw\",\n\t\t\"trackingNumber\": \"ABC-1234\",\n\t\t\"shippedItems\": [\n\t\t\t{\n\t\t\t\t\"lineItemId\" : \"UmVmdW5kUmVxdWVzdExpbmVJdGVtLTc1Ng==\",\n\t\t\t\t\"quantity\": 1\n\t\t\t}\n\t\t],\n\t\t\"attachments\": [\n\t\t\t{\n\t\t\t\t\"filename\": \"packing_slip.jpg\",\n\t\t\t\t\"dataBase64\": \"<BASE 64 STRING HERE>\"\n\t\t\t}\n\t\t]\n\t}\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Create Return Shipment - URL Attachments","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation createReturnShipment ($input: ReturnShipmentCreateMutationInput!){\n\treturnShipmentCreate(\n\t\tinput: $input\n\t) {\n\t\tshipment {\n\t\t\tid\n\t\t\tcarrier {\n\t\t\t\tname\n\t\t\t\ttrackingUrl\n\t\t\t}\n\t\t\tattachments {\n\t\t\t\turl\n\t\t\t\talt\n\t\t\t}\n\t\t}\n\t\terrors {\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t}\n}","variables":"{\n\t\"input\": {\n\t\t\"refundRequestId\": \"UmVmdW5kUmVxdWVzdC01Mjc=\",\n\t\t\"carrierId\": \"U2hpcG1lbnRDYXJyaWVyLTcw\",\n\t\t\"trackingNumber\": \"ABC-1234\",\n\t\t\"shippedItems\": [\n\t\t\t{\n\t\t\t\t\"lineItemId\": \"UmVmdW5kUmVxdWVzdExpbmVJdGVtLTc1Ng==\",\n\t\t\t\t\"quantity\": 1\n\t\t\t}\n\t\t],\n\t\t\"attachments\": [\n\t\t\t{\n\t\t\t\t\"sourceUrl\": \"<YOUR PUBLIC IMAGE URL>\",\n\t\t\t\t\"alt\": \"Packing Slip\"\n\t\t\t}\n\t\t]\n\t}\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Shipment Carriers Query","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ShipmentCarriersQuery($pageSize: Int, $endCursor: String) {\n\tshipmentCarriers(first: $pageSize, after: $endCursor) {\n\t\tnodes {\n\t\t\tid\n\t\t\tname\n\t\t}\n\t}\n}","variables":"{\n\t\"pageSize\": 10,\n\t\"endCursor\": null\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Shipment Create","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation ShipmentCreate($input: ShipmentCreateMutationInput!) {\n\tshipmentCreate(input: $input) {\n\t\terrors {\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t\tshipment {\n\t\t\tid\n\t\t\tdispatchedAt\n\t\t\ttrackingLink\n\t\t\ttrackingNumber\n\t\t}\n\t}\n}","variables":"{\n\t\"input\": {\n\t\t\"invoiceId\": \"SW52b2ljZS02NA==\",\n\t\t\"postageCarrierId\": \"U2hpcG1lbnRDYXJyaWVyLTIw\",\n\t\t\"dispatchedAt\": \"2024-08-02\",\n\t\t\"trackingNumber\": \"54687888\",\n\t\t\"shippedItems\": {\n\t\t\t\"quantity\": 2,\n\t\t\t\"lineItemId\": \"TGluZUl0ZW0tOTE=\"\n\t\t}\n\t}\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Shipment Status Create","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation createShipmentStatus($input: ShipmentStatusCreateMutationInput!){\n\tshipmentStatusCreate(\n\t\tinput: $input\n\t) {\n\t\terrors {\n\t\t\tmessages\n\t\t\tfield\n\t\t}\n\t\tshipmentStatus{\n\t\t\tid\n\t\t\tstatus\n\t\t\tshipment{\n\t\t\t\t... on ReturnShipment\n\t\t\t\t{\n\t\t\t\t\tid\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","variables":"{\n\t\"input\": {\n\t\t\"shipmentId\": \"UmV0dXJuU2hpcG1lbnQtMTI=\",\n\t\t\"status\": \"OutForDelivery\"\n\t}\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Shipment Update","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation ShipmentUpdate($input: ShipmentUpdateMutationInput!) {\n\tshipmentUpdate(input: $input) {\n\t\terrors {\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t\tshipment {\n\t\t\tid\n\t\t\tdispatchedAt\n\t\t\ttrackingLink\n\t\t\ttrackingNumber\n\t\t\tnote\n\t\t}\n\t}\n}","variables":"{\n  \"input\": {\n    \"shipmentId\": \"U2hpcG1lbnQtMTQ1\",\n    \"note\": \"Handle with care\"\n  }\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}]},{"name":"Shipping Rules","item":[{"name":"Get Shipping Options on Variant","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query GetShippingOptionsOnVariant(\n\t$id: ID!\n\t$pageSize: Int\n\t$endCursor: String\n\t$soEndCursor: String\n\t$srEndCursor: String\n\t$szEndCursor: String\n) {\n\tnode(id: $id) {\n\t\t... on Advert {\n\t\t\tid\n\t\t\tlegacyId\n\t\t\ttitle\n\n\t\t\tvariants(displayableOnly: false, first: $pageSize, after: $endCursor) {\n\t\t\t\tnodes {\n\t\t\t\t\tid\n\t\t\t\t\tlegacyId\n\t\t\t\t\tlabel\n\t\t\t\t\tshippingOptions(first: $pageSize, after: $soEndCursor) {\n\t\t\t\t\t\ttotalCount\n\t\t\t\t\t\tpageInfo {\n\t\t\t\t\t\t\t...PageInfoPartial\n\t\t\t\t\t\t}\n\t\t\t\t\t\tedges {\n\t\t\t\t\t\t\tnode {\n\t\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\t\tshippingRates(first: $pageSize, after: $srEndCursor) {\n\t\t\t\t\t\t\t\t\ttotalCount\n\t\t\t\t\t\t\t\t\tpageInfo {\n\t\t\t\t\t\t\t\t\t\t...PageInfoPartial\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tedges {\n\t\t\t\t\t\t\t\t\t\tnode {\n\t\t\t\t\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\t\t\t\t\trateCents\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tshippingZones(first: $pageSize, after: $szEndCursor) {\n\t\t\t\t\t\t\t\t\ttotalCount\n\t\t\t\t\t\t\t\t\tpageInfo {\n\t\t\t\t\t\t\t\t\t\t...PageInfoPartial\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tedges {\n\t\t\t\t\t\t\t\t\t\tnode {\n\t\t\t\t\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\t\t\t\t\tpostcodes\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tpageInfo {\n\t\t\t\t\t...PageInfoPartial\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\nfragment PageInfoPartial on PageInfo {\n\thasNextPage\n\tendCursor\n}","variables":"{\n  \"id\": \"QWR2ZXJ0LTEwMDA5MjkwNw==\",\n  \"pageSize\": 5,\n  \"endCursor\": null,\n  \"soEndCursor\": null,\n  \"srEndCursor\": null,\n  \"szEndCursor\": null\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Shipping Option (Rule) Query","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ShippingOptionsQuery(\n\t$pageSize: Int\n\t$endCursor: String\n\t$filters: ShippingOptionFilters\n) {\n\tshippingOptions(first: $pageSize, after: $endCursor, filters: $filters) {\n\t\ttotalCount\n\t\tpageInfo\n\t\t{\n\t\t\thasNextPage\n\t\t\tendCursor\n\t\t}\n\t\tedges {\n\t\t\tnode {\n\t\t\t\tupdatedAt\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t\tseller {\n\t\t\t\t\tid\n\t\t\t\t\tbusinessName\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}","variables":"{\n\t\"pageSize\": 10,\n\t\"endCursor\": null,\n\t\"filters\": {\n\t\t\"updatedSince\": \"2022-12-16T04:33:54+11:00\"\n\t}\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Shipping Option (Rule) Upsert","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation createNewShippingRule($input: ShippingOptionUpsertMutationInput!) {\n\tshippingOptionUpsert(input: $input) {\n\t\terrors {\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t\tshippingOption {\n\t\t\tid\n\t\t\tname\n\t\t}\n\t}\n}\n","variables":"{\n\t\"input\": {\n\t\t\"attributes\": {\n\t\t\t\"name\": \"Express Metro Small\",\n\t\t\t\"description\": \"For packages in metro areas less than 5Kg\",\n\t\t\t\"shippingZoneIds\": [\n\t\t\t\t\"U2hpcHBpbmdab25lLTE0\"\n\t\t\t],\n\t\t\t\"shippingRateIds\": [\n\t\t\t\t\"U2hpcHBpbmdSYXRlLTE4\"\n\t\t\t],\n\t\t\t\"shippingProfileIds\": [\n\t\t\t\t\"U2hpcHBpbmdQcm9maWxlLTc=\"\n\t\t\t]\n\t\t}\n\t}\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Shipping Profiles Query","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query getAllShippingProfiles($pageSize: Int, $endCursor: String){\n\tshippingProfiles(first: $pageSize, after: $endCursor) {\n\t\ttotalCount\n\t\tpageInfo {\n\t\t\thasNextPage\n\t\t\tendCursor\n\t\t}\n\t\tnodes {\n\t\t\tid\n\t\t\tname\n\t\t}\n\t}\n}\n","variables":"{\n\t\"pageSize\": 10,\n\t\"endCursor\": null\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Shipping Rate Create or Update","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation ShippingRateCreateOrUpdate(\n\t$input: ShippingRateCreateOrUpdateMutationInput!\n) {\n\tshippingRateCreateOrUpdate(input: $input) {\n\t\tshippingRate{\n\t\t\tid\n\t\t}\n\t\tstatus\n\t\terrors {\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t}\n}","variables":"{\n\t\"input\": {\n\t\t\"attributes\": {\n\t\t\t\"name\": \"Bronze\",\n\t\t\t\"rate\": 12\n\t\t}\n\t}\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Shipping Rates Query","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query getShippingRates ($first: Int, $after: String){\n\tshippingRates(first: $first, after: $after) {\n\t\tnodes {\n\t\t\tname\n\t\t\tid\n\t\t\trateCents\n\t\t\tseller {\n\t\t\t\tbusinessName\n\t\t\t\tid\n\t\t\t}\n\t\t}\n\t}\n}","variables":"{\n\t\"first\": 10,\n\t\"after\": null\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Shipping Zone Create or Update","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation ShippingZoneCreateOrUpdate(\n\t$input: ShippingZoneCreateOrUpdateMutationInput!\n) {\n\tshippingZoneCreateOrUpdate(input: $input) {\n\t\tstatus\n\t\terrors {\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t}\n}","variables":"{\n\t\"input\": {\n\t\t\"attributes\": {\n\t\t\t\"name\": \"Metro West\",\n\t\t\t\"description\": \"Inner western suburbs\",\n\t\t\t\"spreadsheet\": { \n\t\t\t\t\"dataBase64\" : \"<YOUR BASE 64 ENCODED CSV>\",\n\t\t\t\t\"filename\" : \"iw_zipcodes.csv\"\n\t\t\t}\n\t\t}\n\t}\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"ShippingZone Query","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ShippingZoneQuery($pageSize: Int, $endCursor: String) {\n\tshippingZones(first: $pageSize, after: $endCursor) {\n\t\ttotalCount\n\t\tpageInfo {\n\t\t\thasNextPage\n\t\t\tendCursor\n\t\t}\n\t\tedges {\n\t\t\tnode {\n\t\t\t\tname\n\t\t\t\tdescription\n\t\t\t\tpostcodes\n\t\t\t}\n\t\t}\n\t}\n}","variables":"{\n\t\"pageSize\": 10,\n\t\"endCursor\": null\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}]},{"name":"Taxonomy (Categorization)","item":[{"name":"Brands Query","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query BrandsQuery($pageSize: Int, $endCursor: String) {\n\tbrands(first: $pageSize, after: $endCursor) {\n\t\ttotalCount\n\t\tpageInfo {\n\t\t\thasNextPage\n\t\t\tendCursor\n\t\t}\n\t\tedges {\n\t\t\tnode {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t}\n\t\t}\n\t}\n}","variables":"{\n\t\"pageSize\": 10,\n\t\"endCursor\": null\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Get Single Taxon (node)","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query GetTaxon($id: ID!) {\n\tnode(id: $id) {\n\t\t... on Taxon {\n\t\t\tid\n\t\t\ttitle\n\t\t\tlegacyId\n\t\t\tdescription\n\t\t\turlSlug\n\t\t\ttreeName\n\t\t\tdisplayName\n\t\t\ttitle\n\t\t\ttaxonType\n\t\t}\n\t}\n}\n","variables":"{\n\t\"id\": \"VGF4b24tNzU=\"\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Seller Categories","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query SellerCategories {\n\tsellerCategories {\n\t\tcategoryLabel\n\t\tcategorySlug\n\t}\n}","variables":"{}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Taxon Search","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query taxonSearch($first: Int, $endCursor: String, $searchValue: String){\n\ttaxonSearch(first: $first after: $endCursor, searchValue: $searchValue ){\n\t\ttotalCount\n\t\tpageInfo\n\t\t{\n\t\t\t...PageInfoPartial\n\t\t}\n\t\tnodes{\n\t\t\tid\n\t\t\ttreeName\n\t\t\tdisplayName\n\t\t\tchildren{\n\t\t\t\ttotalCount\n\t\t\t\tpageInfo{\n\t\t\t\t\t...PageInfoPartial\n\t\t\t\t}\n\t\t\t\tnodes\n\t\t\t\t{\n\t\t\t\t\tid\n\t\t\t\t\tdisplayName\n\t\t\t\t\t# place furhter childern clauses here as required\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\nfragment PageInfoPartial on PageInfo {\n\thasNextPage\n\tendCursor\n}","variables":"{\n\t\"pageSize\": 10,\n\t\"endCursor\": null,\n\t\"searchValue\": \"beverage\"\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Taxons Query","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query QueryTaxons(\n\t$pageSize: Int\n\t$l0EndCursor: String\n\t$l1EndCursor: String\n\t$l2EndCursor: String\n) {\n\ttaxons(first: $pageSize, after: $l0EndCursor) {\n\t\ttotalCount\n\t\tpageInfo {\n\t\t\t...PageInfoPartial\n\t\t}\n\t\tedges {\n\t\t\tnode {\n\t\t\t\tid\n\t\t\t\tlegacyId\n\t\t\t\tdisplayName\n\t\t\t\tdescription\n\t\t\t\tgoogleCategory\n\t\t\t\ttaxCode\n\t\t\t\turlSlug\n\t\t\t\ttreeName\n\t\t\t\tprototype {\n\t\t\t\t\tname\n\t\t\t\t}\n\t\t\t\tchildren(first: $pageSize, after: $l1EndCursor) {\n\t\t\t\t\ttotalCount\n\t\t\t\t\tpageInfo {\n\t\t\t\t\t\t...PageInfoPartial\n\t\t\t\t\t}\n\t\t\t\t\tedges {\n\t\t\t\t\t\tnode {\n\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\tdisplayName\n\t\t\t\t\t\t\ttreeName\n\t\t\t\t\t\t\turlSlug\n\t\t\t\t\t\t\tprototype {\n\t\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tchildren(first: $pageSize, after: $l2EndCursor) {\n\t\t\t\t\t\t\t\ttotalCount\n\t\t\t\t\t\t\t\tpageInfo {\n\t\t\t\t\t\t\t\t\t...PageInfoPartial\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tedges {\n\t\t\t\t\t\t\t\t\tnode {\n\t\t\t\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\t\t\t\tdisplayName\n\t\t\t\t\t\t\t\t\t\ttreeName\n\t\t\t\t\t\t\t\t\t\turlSlug\n\t\t\t\t\t\t\t\t\t\tprototype {\n\t\t\t\t\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\nfragment PageInfoPartial on PageInfo {\n\thasNextPage\n\tendCursor\n}\n","variables":"{\n\t\"pageSize\": 10,\n\t\"l0EndCursor\": null,\n\t\"l1EndCursor\": null,\n\t\"l2EndCursor\": null\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}]},{"name":"Webhook Management","item":[{"name":"Webhook Create","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation WebhookCreate($input: WebhookCreateMutationInput!) {\n\twebhookCreate(input: $input) {\n\t\terrors {\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t\tstatus\n\t\twebhook {\n\t\t\tid\n\t\t}\n\t}\n}","variables":"{\n\t\"input\": {\n\t\t\"attributes\": {\n\t\t\t\"enabled\": true,\n\t\t\t\"type\": \"INVOICE\",\n\t\t\t\"eventName\": \"UPDATE\",\n\t\t\t\"url\": \"https://example.com/your_post_endpoint\",\n\t\t\t\"headers\": \"{ \\\"environment\\\": \\\"Production\\\" }\",\n\t\t\t\"queryString\": \"query($id: ID!){node(id: $id){... on Invoice{__typename id statusFlags createdAt}}}\"\n\t\t}\n\t}\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Webhook Update","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation WebhookUpdate($input: WebhookUpdateMutationInput!) {\n\twebhookUpdate(input: $input) {\n\t\terrors {\n\t\t\tfield\n\t\t\tmessages\n\t\t}\n\t\tstatus\n\t\twebhook {\n\t\t\tid\n\t\t}\n\t}\n}","variables":"{\n\t\"input\": {\n\t\t\"webhookId\": \"V2ViaG9vay0xNA==\",\n\t\t\"attributes\": {\n\t\t\t\"enabled\": false\n\t\t}\n\t}\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Webhooks Query","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query WebhooksQuery($pageSize: Int, $endCursor: String) {\n\twebhooks(first: $pageSize, after: $endCursor) {\n\t\tedges {\n\t\t\tnode {\n\t\t\t\tid\n\t\t\t\ttype\n\t\t\t\tevents {\n\t\t\t\t\tid\n\t\t\t\t\teventName\n\t\t\t\t\tsentAt\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}","variables":"{\n\t\"pageSize\" : 10,\n\t\"endCursor\" : null\n}"}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}]},{"name":"Webhook Query Templates","item":[{"name":"Advert Webhook","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query AdvertWebhook($id: ID!) {\n\tnode(id: $id) {\n\t\t... on Advert {\n\t\t\t__typename\n\t\t\tid\n\t\t\ttitle\n\t\t\tlowestPrice\n\t\t\tdisplayable\n\t\t\tpublished\n\t\t\t#[REMOVE THIS LINE AND YOU CAN ADD ADDITIONAL FIELDS FOUND HERE: https://api.marketplacer.com/graphql/advert.doc.html]\n\t\t\tseller {\n\t\t\t\tbusinessName\n\t\t\t}\n\t\t\tvariants {\n\t\t\t\tedges {\n\t\t\t\t\tnode {\n\t\t\t\t\t\tbarcode\n\t\t\t\t\t\tcountOnHand\n\t\t\t\t\t\t#[REMOVE THIS LINE AND YOU CAN ADD ADDITIONAL FIELDS FOUND HERE: https://api.marketplacer.com/graphql/variant.doc.html]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}","variables":""}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Invoice Webhook","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query InvoiceWebhook($id: ID!) {\n\tnode(id: $id) {\n\t\t... on Invoice {\n\t\t\t__typename\n\t\t\tid\n\t\t\tstatusFlags\n\t\t\tcreatedAt\n\t\t\t#[REMOVE THIS LINE AND YOU CAN ADD ADDITIONAL FIELDS FOUND HERE: https://api.marketplacer.com/graphql/invoice.doc.html]\n\n\t\t\tseller {\n\t\t\t\tid\n\t\t\t\tbusinessName\n\t\t\t}\n\n\t\t\tlineItems {\n\t\t\t\tid\n\t\t\t\tstatus\n\t\t\t}\n\t\t}\n\t}\n}\n","variables":""}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Refund Request Webhook","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query RefundRequestWebhook($id: ID!) {\n\tnode(id: $id) {\n\t\t... on RefundRequest {\n\t\t\t__typename\n\t\t\tid\n\t\t\tcashAmountCents\n\t\t\tinitiatedBy\n\t\t\ttotalFormatted\n\t\t\t#[REMOVE THIS LINE AND YOU CAN ADD ADDITIONAL FIELDS FOUND HERE: https://api.marketplacer.com/graphql/refundrequest.doc.html]\n\t\t\tlineItems {\n\t\t\t\tid\n\t\t\t}\n\t\t}\n\t}\n}","variables":""}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]},{"name":"Variant Webhook","request":{"method":"POST","header":[{"key":"MARKETPLACER-API-KEY","value":"{{api_key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query VariantWebhook($id: ID!) {\n\tnode(id: $id) {\n\t\t... on Variant {\n\t\t\tid\n\t\t\tbarcode\n\t\t\tsku\n\t\t\tcountOnHand\n\t\t\t#[REMOVE THIS LINE AND YOU CAN ADD ADDITIONAL FIELDS FOUND HERE: https://api.marketplacer.com/graphql/variant.doc.html]\n\t\t\tadvert {\n\t\t\t\t... on Advert {\n\t\t\t\t\tid\n\t\t\t\t\ttitle\n\t\t\t\t\t#[REMOVE THIS LINE AND YOU CAN ADD ADDITIONAL FIELDS FOUND HERE: https://api.marketplacer.com/graphql/advert.doc.html]\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","variables":""}},"url":{"raw":"{{base_url}}","host":["{{base_url}}"],"path":null},"description":null},"response":[]}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}]}],"auth":{"type":"basic","basic":[{"key":"password","value":"{{password}}","type":"string"},{"key":"username","value":"{{username}}","type":"string"}]},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}],"variable":[{"key":"base_url","value":"https://bestfriendbazaar.com/graphql"},{"key":"username","value":"yourusername"},{"key":"password","value":"yourpassword"},{"key":"api_key","value":"yourapikey"}]}