woocommerce / woocommerce-ios

WooCommerce iOS app
https://www.woocommerce.com/mobile
GNU General Public License v2.0
314 stars 113 forks source link

[Shipping labels] Add Yosemite support for getting list of packages #14403

Closed bozidarsevo closed 1 week ago

bozidarsevo commented 1 week ago

Closes: #13553

Description

Looks like the endpoint is currently not supported.

Testing information


Reviewer (or Author, in the case of optional code reviews):

Please make sure these conditions are met before approving the PR, or request changes if the PR needs improvement:

dangermattic commented 1 week ago
1 Warning
:warning: This PR is larger than 300 lines of changes. Please consider splitting it into smaller PRs for easier and faster reviews.

Generated by :no_entry_sign: Danger

wpmobilebot commented 1 week ago

WooCommerce iOS📲 You can test the changes from this Pull Request in WooCommerce iOS by scanning the QR code below to install the corresponding build.

App NameWooCommerce iOS WooCommerce iOS
Build Numberpr14403-ea6411f
Version21.1
Bundle IDcom.automattic.alpha.woocommerce
Commitea6411f4938c6ebb696dac1a3ef3260d289df30d
App Center BuildWooCommerce - Prototype Builds #11612

Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.

rachelmcr commented 1 week ago

Before we go ahead with these changes, I think we should double check with the extension team about the documented endpoint. I expected that this request would include all the required details about all predefined packages (not just the ID, and not just the saved/activated options). I expected something similar to the sample response from the legacy endpoint.

Otherwise, we don't have any endpoint that provides those details to display the carrier packages in the UI.

rachelmcr commented 1 week ago

We could also ask the team for a build of the extension that includes this endpoint support, so we can test it and generate mock responses to use for WooShippingRemoteTests, to test how our mapper decodes the response.

rachelmcr commented 1 week ago

i went ahead and raised the question/concern about the data in this response here: p1731499656158269-slack-C05VBLKHHV1