{"id":21864204,"url":"https://github.com/drbarzaga/walmart-mws","last_synced_at":"2025-09-08T06:37:06.187Z","repository":{"id":42501124,"uuid":"285688762","full_name":"drbarzaga/walmart-mws","owner":"drbarzaga","description":"Walmart Marketplace SDK is a wrapper sdk around the Walmart Marketplace API to used this sdk you will need an developer account with the ClientId and ClientSecret keys.","archived":false,"fork":false,"pushed_at":"2024-04-13T17:53:16.000Z","size":49,"stargazers_count":8,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-25T23:53:30.799Z","etag":null,"topics":["api","nodejs","seller","walmart","walmart-api","walmart-mws"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drbarzaga.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-08-06T23:05:20.000Z","updated_at":"2024-01-07T06:23:23.000Z","dependencies_parsed_at":"2025-04-14T20:53:20.226Z","dependency_job_id":"3d1ea767-d2f7-497c-85c4-61c24f0e1ac7","html_url":"https://github.com/drbarzaga/walmart-mws","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/drbarzaga/walmart-mws","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drbarzaga%2Fwalmart-mws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drbarzaga%2Fwalmart-mws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drbarzaga%2Fwalmart-mws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drbarzaga%2Fwalmart-mws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drbarzaga","download_url":"https://codeload.github.com/drbarzaga/walmart-mws/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drbarzaga%2Fwalmart-mws/sbom","scorecard":{"id":355297,"data":{"date":"2025-08-11","repo":{"name":"github.com/drbarzaga/walmart-mws","commit":"bc7113f0744a2c1c4b38e351645acfd04c402e62"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":3,"reason":"Found 5/15 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/release-package.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-package.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/drbarzaga/walmart-mws/release-package.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-package.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/drbarzaga/walmart-mws/release-package.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-package.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/drbarzaga/walmart-mws/release-package.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-package.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/drbarzaga/walmart-mws/release-package.yml/master?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   2 out of   2 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":1,"reason":"9 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-wf5p-g6vw-rhxx","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-74fj-2j2h-c42q","Warn: Project is vulnerable to: GHSA-pw2r-vq6v-hr8c","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-8hfj-j24r-96c4","Warn: Project is vulnerable to: GHSA-wc69-rhjr-hc9g"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 21 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T09:23:24.538Z","repository_id":42501124,"created_at":"2025-08-18T09:23:24.538Z","updated_at":"2025-08-18T09:23:24.538Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274146326,"owners_count":25230115,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","nodejs","seller","walmart","walmart-api","walmart-mws"],"created_at":"2024-11-28T04:08:05.115Z","updated_at":"2025-09-08T06:37:06.140Z","avatar_url":"https://github.com/drbarzaga.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Walmart Marketplace SDK\n\nThis is a wrapper sdk around the [Walmart Marketplace API](https://developer.walmart.com). To used this sdk you will need an developer account with the **ClientId** and **ClientSecret** keys.\n\n## Installation\n```bash\nnpm install walmart-mws -- not fixed version\n\n# LGTM\nnpm i git+https://github.com/hillwah/walmart-mws.git --save \n```\n\n## Configuration Using JavaScript\n```js\nvar walmartMws = require('walmart-mws')(\n    'WAL_CLIENT_ID',\n    'WAL_SECRET_KEY',\n    'VERSION', \n    'NAME',\n    'PRO_ENV' // optional, default is ''\n);\n```\n\n## Feeds\n\n### Get Feed Status\n**Request:**\n\nAvailable Parameters:\u003cbr\u003e\nName| Type | Required | Default\n--- | :---: | :---: | :---:\nfeedId | String | \u003cspan style=\"color: red\"\u003e**Yes**\u003c/span\u003e |\nincludeDetails | Boolean | No | false\nlimit | Number | No | 50\noffset | Number | No | 0\n\u003cbr\u003e\n\n```js\ntry {\n    const result = await walmartMws.feeds.getFeedStatus('5EF8AB43C8B949EAA6DFCDE98FCB3017@AQkBCgB');\n} catch (error) {    \n}\n```\n\n**Response:**\n```js\n{    \n    feedDate:1596738014958\n    feedId:'5EF8AB43C8B949EAA6DFCDE98FCB3017@AQkBCgB'\n    feedSource:'SELLER'\n    feedStatus:'PROCESSED'\n    feedType:'inventory'\n    itemDataErrorCount:1\n    itemsFailed:1\n    itemsProcessing:0\n    itemsReceived:5118\n    itemsSucceeded:5117\n    itemSystemErrorCount:0\n    itemTimeoutErrorCount:0\n    modifiedDtm:1596738053539\n    orgId:'8744aa2f-3a1f-4e37-8a99-1bef6567f92e'\n    partnerId:'10000010921'\n}\n```\n\n## Get All Feed Status\n**Request:**\n\nAvailable Parameters:\u003cbr\u003e\nName| Type | Required | Default\n--- | :---: | :---: | :---:\nfeedId | String | No\nlimit | Number | No | 50\noffset | Number | No | 0\n\u003cbr\u003e\n\n```js\ntry {\n    const result = await walmartMws.feeds.getAllFeedStatus();\n} catch (error) {    \n}\n```\n\n**Response:**\n```js\n{\n    totalResults: 2,\n    offset: 0,\n    limit: 50,\n    results: {\n        feed: [\n            {\n                feedDate:1596738014958\n                feedId:'5EF8AB43C8B949EAA6DFCDE98FCB3017@AQkBCgB'\n                feedSource:'SELLER'\n                feedStatus:'PROCESSED'\n                feedType:'inventory'\n                itemDataErrorCount:1\n                itemsFailed:1\n                itemsProcessing:0\n                itemsReceived:5118\n                itemsSucceeded:5117\n                itemSystemErrorCount:0\n                itemTimeoutErrorCount:0\n                modifiedDtm:1596738053539\n                orgId:'8744aa2f-3a1f-4e37-8a99-1bef6567f92e'\n                partnerId:'10000010921'\n            },\n            {\n               ...\n            }\n        ]\n    }\n}\n```\n\n## Items\n\n### Get All Items\n**Request:**\n\nAvailable Parameters:\u003cbr\u003e\nName| Type | Required | Default\n--- | :---: | :---: | :---:\nnextCursor | String | No |\nsku | String | No | \nlimit | Number | No | 20\noffset | Number | No | 0\nlifecycleStatus | String | No |\npublishedStatus | String | No |\n\u003cbr\u003e\n\n```js\ntry {\n    const result = await walmartMws.items.getAllItems();\n} catch (error) {    \n}\n```\n**Response:**\n```js\n{\n    ItemResponse: [\n        {\n            gtin:'00192339211111'\n            lifecycleStatus:'ACTIVE'\n            mart:'WALMART_US'\n            price:{currency: 'USD', amount: 20.21}\n            productName:'Product Name'\n            productType:'Product Type'\n            publishedStatus:'UNPUBLISHED'\n            shelf:[\"Home Page\",\"Sports \u0026 Outdoors\",\"Sports\",\"Golf Equipment\",\"Golf Clothing\",\"Women's Golf Shorts\"]\n            sku:'192339252042022'\n            unpublishedReasons:{\n                reason: [\n                    \"Reason 1\", \"Reason 2\"\n                ]\n            }\n            upc:'192339252042022'\n            wpid:'0RCN8JI3SKJY'\n        },\n        {\n            ...\n        }\n    ],\n    nextCursor:'AoE/GjBSQ1MyQjJHV1BWODBTRUxMRVJfT0ZGRVJERDhGODVEM0U2ODU0RDRDOEQ2MDAwQTI4MzQzMDhDMw=='\n    totalItems:100\n}\n```\n\n### Get Item Details\n**Request:**\n\nAvailable Parameters:\u003cbr\u003e\nName| Type | Required | Default\n--- | :---: | :---: | :---:\nsku | String | **Yes** |\n\u003cbr\u003e\n\n```js\ntry {\n    const result = await walmartMws.items.getItem('192339252042022');\n} catch (error) {    \n}\n```\n**Response:**\n```js\n{\n    gtin:'00192503120223'\n    lifecycleStatus:'ACTIVE'\n    mart:'WALMART_US',\n    price: {\n        amount:40.12\n        currency:'USD'\n    },\n    productName:'Product name',\n    productType:'Product type'\n    publishedStatus:'PUBLISHED'\n    shelf: [ \n        \"Shelf1\",\n        \"Shelf2\",\n    ],\n    sku:'192503120222'\n    upc:'192503120222'\n    wpid:'3MH4ITZKQ2A3'\n}\n```\n\n### Get Taxonomy\n**Request:** \n\nAvailable Parameters:\u003cbr\u003e\nName| Type | Required | Default\n--- | :---: | :---: | :---:\ncategory | String | \u003cspan style=\"color: red\"\u003e**Yes**\u003c/span\u003e |\nsubcategory | String | No |\nsubcategoryName | String | No |\nsubcategoryId | String | No |\n\u003cbr\u003e\n\n```js\ntry {\n    const result = await walmartMws.items.getTaxonomy('Search');\n} catch (error) {    \n}\n```\n\n### Retire Item\n**Request:**\n\nAvailable Parameters:\u003cbr\u003e\nName| Type | Required | Default\n--- | :---: | :---: | :---:\nsku | String | \u003cspan style=\"color: red\"\u003e**Yes**\u003c/span\u003e |\n\n\n\u003cspan style=\"color: red\"\u003e**Note:**\u003c/span\u003e You can't reuse the SKU or Product ID from a retired item. If you need to change the SKU or Product ID, see Product ID \u0026 SKU section.\n\u003cbr\u003e\n\n```js\ntry {\n    const result = await walmartMws.items.retireItem('97964898989');\n} catch (error) {    \n}\n```\n\n**Response:**\n```js\n{\n  \"sku\": \"97964898989\",\n  \"message\": \"Thank you.  Your item has been submitted for retirement from Walmart Catalog.  Please note that it can take up to 48 hours for items to be retired from our catalog.\",\n  \"additionalAttributes\": null,\n  \"errors\": null\n}\n```\n\n### Bulk Item Retire\n**Request:**\n\nAvailable Parameters:\u003cbr\u003e\nName| Type | Required | Default\n--- | :---: | :---: | :---:\nfeedType | String | \u003cspan style=\"color: red\"\u003e**Yes**\u003c/span\u003e |\nfile | String | \u003cspan style=\"color: red\"\u003e**Yes**\u003c/span\u003e |\n\n\u003cbr\u003e\n\n```js\ntry {\n    const result = await walmartMws.items.bulkRetireItem('RETIRE_ITEM', file);\n} catch (error) {    \n}\n```\n\n```js\n{\n  feedId: \"F129C19240844B97A3C6AD8F1A2C4997@AU8BAQA\",\n  additionalAttributes: null,\n  errors: null\n}\n```\n\n## Promotions\n\n### Promotional Prices\n**Request:**\n\nAvailable Parameters:\u003cbr\u003e\nName| Type | Required | Default\n--- | :---: | :---: | :---:\nsku | String | \u003cspan style=\"color: red\"\u003e**Yes**\u003c/span\u003e |\n\u003cbr\u003e\n\n```js\ntry {\n    const result = await walmartMws.promotions.getPromotionalPrices('97964787878');\n} catch (error) {    \n}\n```\n\n**Response:**\n```js\n{\n    status: \"OK\",\n    header: {\n      headerAttributes: null\n    },\n    payload: {\n      itemIdentifier: {\n        sku: \"97964787878\"\n      },\n      pricingList: {\n        pricing: [\n          {\n            currentPrice: {\n              value: {\n                value: null,\n                currency: \"USD\",\n                amount: 4.00\n              },\n              uomType: null,\n              minValue: null,\n              maxValue: null,\n              perUnitValue: null,\n              minUnitValue: null,\n              maxUnitValue: null\n            },\n            currentPriceType: \"REDUCED\",\n            comparisonPrice: {\n              value: {\n                value: null,\n                currency: \"USD\",\n                amount: 4.00\n              },\n              uomType: null,\n              minValue: null,\n              maxValue: null,\n              perUnitValue: null,\n              minUnitValue: null,\n              maxUnitValue: null\n            },\n            comparisonPriceType: \"BASE\",\n            savingsAmount: 0.00,\n            savingsPercent: 0.00,\n            priceDisplayCodes: {\n              isRollback: false,\n              isStrikethrough: true,\n              isReducedPrice: true,\n              isClearance: false,\n              hidePriceForSOI: null,\n              isEligibleForAssociateDiscount: null,\n              submapType: null\n            },\n            effectiveDate: 1572774597943,\n            expirationDate: 1575366597943,\n            promoId: \"ce9dfbce-4043-442c-8cb9-77d39d0f727f\",\n            processMode: null\n          }\n        ],\n        replaceAll: false\n      },\n      maxSalesRetailPrice: null,\n      minAdvtPrice: null,\n      rebate: null\n    }\n  }\n```\n\n\n## Inventory\n\n### Get Item Inventory\n**Request:**\n\nAvailable Parameters:\u003cbr\u003e\nName| Type | Required | Default\n--- | :---: | :---: | :---:\nsku | String | \u003cspan style=\"color: red\"\u003e**Yes**\u003c/span\u003e |\n\u003cbr\u003e\n\n```js\ntry {\n    const result = await walmartMws.inventory.getItemInventory('192503120522');\n} catch (error) {    \n}\n```\n**Response:**\n```js\n{\n    sku:'192503120522',\n    quantity:{\n        unit: 'EACH', \n        amount: 30\n    }\n}\n```\n\n### Update Item Inventory\n**Request:**\n\nAvailable Parameters:\u003cbr\u003e\nName| Type | Required | Default\n--- | :---: | :---: | :---:\nsku | String | \u003cspan style=\"color: red\"\u003e**Yes**\u003c/span\u003e |\ndata| Object | \u003cspan style=\"color: red\"\u003e**Yes**\u003c/span\u003e |\n\u003cbr\u003e\n\n```js\nlet data = {\n    sku:'192503120522',\n    quantity:{\n        unit: 'EACH', \n        amount: 0\n    }\n};\ntry {\n    const result = await walmartMws.inventory.updateItemInventory('192503120522', data);\n} catch (error) {    \n}\n```\n**Response:**\n```js\n{\n    sku:'192503120522',\n    quantity:{\n        unit: 'EACH', \n        amount: 0\n    }\n}\n```\n\n## Dependencies\n\nPackage | Version\n--- |:---:\n[axios](https://www.npmjs.com/package/axios) | 0.19.2 \n[moment](https://www.npmjs.com/package/moment) | 2.27.0\n[querystring](https://www.npmjs.com/package/querystring) | 0.2.0\n\n## Contributors\n\u003ca href=\"https://github.com/drbarzaga/walmart-mws/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=drbarzaga/walmart-mws\" /\u003e\n\u003c/a\u003e\n\nMade with [contrib.rocks](https://contrib.rocks).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrbarzaga%2Fwalmart-mws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrbarzaga%2Fwalmart-mws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrbarzaga%2Fwalmart-mws/lists"}