Skip to content

Releases: highsidelabs/walmart-api-php

v0.7.0

18 Aug 08:12
Compare
Choose a tag to compare

Added

  • The Assortment Recommendations and Reviews APIs (US only)
  • Since the Suppliers APIs now use a separate API host, added support for category-specific hosts in src/Walmart.php
  • Specific schema keys can be deleted via the schemas/modifications/deletions.json file

Changed

  • Updated all APIs from upstream models
  • Reorganized schema models and schema correction files into separate, sibling folders

Fixed

  • Replaced Walmart::warehouseSupplier() with supplier() (#10)
  • Tested and fixed signature-based authentication (#10, #5)

Full Changelog: v0.6.3...v0.7.0

v0.6.3

16 Aug 07:32
Compare
Choose a tag to compare

Fixed

  • Removed invalid Walmart::warehouseSupplier() and Walmart::dropShipVendor(), and replaced them with Walmart::supplier() (#10, not a complete fix)
  • Corrected MarketplaceApi::price() to MarketplaceApi::prices(), and changed referenced PriceApi classes to PricesApi (#11)

Full Changelog: v0.6.2...v0.6.3

v0.6.2

16 Aug 07:16
Compare
Choose a tag to compare

Added

  • The resources/schema-additions.json file allows adding to schemas without overwriting them (which is what the resources/schema-overrides.json file does)

Fixed

  • Added support for nextCursor parameters on the US Orders getAllOrders endpoint (#6 fixed by #8, thanks @friendscottn!)

Full Changelog: v0.6.1...v0.6.2

v0.6.1

05 Aug 21:55
Compare
Choose a tag to compare

Fixed

  • Updated composer.json to reflect the lack of PHP 7.4 support

Full Changelog: v0.6.0...v0.6.1

v0.6.0

05 Aug 21:02
Compare
Choose a tag to compare

Changed

  • Dropped support for PHP 7.4 on main, and moved PHP 7.4 support to the php-7.4 branch.
  • Removed composer.lock from repository

Full Changelog: v0.5.0...v0.6.0

v0.5.0

25 Jul 04:02
Compare
Choose a tag to compare

Changed

  • Updated the logic for picking refs for endpoint request/response schemas, and refs within schema components. It's still not perfect, but far more of the models used by endpoints are the ones intended to be used by Walmart.
  • Combined the Drop Ship Vendor and Warehouse Supplier APIs into the 1P Supplier API, because Walmart also recently made this change
  • Updated various existing APIs to match Walmart upstream schema updates

Added

  • Support for the WM_PARTNER.ID header via a partnerId key in the Configuration constructor, which is a required value when calling the 1P Supplier API

Full Changelog: v0.4.1...v0.5.0

v0.4.1

24 Jul 15:31
Compare
Choose a tag to compare

Added

  • Everywhere in Walmart's schemas that the WM_CONSUMER.CHANNEL.TYPE header is required, it can now be passed via the channelType Configuration constructor array key (#5)

Full Changelog: v0.4.0...v0.4.1

v0.4.0

14 Jul 21:14
Compare
Choose a tag to compare

Changed

  • BREAKING CHANGE: Moved clientId and clientSecret from required constructor params for Configuration, to optional Configuration configuration array keys, to support use cases where users don't have a client ID and/or client secret (#3)
  • Made Walmart.php a templated/generated file instead of raw PHP
  • Move package version to Walmart\Walmart::VERSION, instead of inserting it into the code in several places

Fixed

  • Unnecessary autoloading in Api classes and Walmart class (#2)

Added

  • composer version-update, which just generates supporting files in order to update the package version

Full Changelog: v0.3.2...v0.4.0

v0.3.2

23 Jun 02:46
Compare
Choose a tag to compare

Fixed

  • Change how query parameters are turned into URLs to ensure correct key names

Full Changelog: v0.3.1...v0.3.2

v0.3.1

21 Jun 21:12
Compare
Choose a tag to compare

Added

  • Ability to correct for Walmart JSON model issues via the resources/schema-corrections.json file, which is merged against the official schema when we're done doing all our other modifications to it

Fixed

  • Reformatted return types for API endpoints that return arrays from ResponseType[] to array
  • Changed ItemsApi::getAnItem return type from ItemResponseJson (what Walmart says it's supposed to be) to ItemResponses (what it actually is)

Full Changelog: v0.3.0...v0.3.1