Skip to content

Shipping Labels M2 release: add option to validate shipping label address details #3017

@anitaa1990

Description

@anitaa1990

Once the shipping label addresses are displayed, we would need to:

  • call API to validate the origin address. If the address is not valid, the next steps in the creation flow should be greyed out.
  • If the origin address is valid, call API to validate the destination address. If the destination address is not valid, the next steps in the creation flow should be greyed out.

.

  • When the Continue button is clicked on the origin address section, we need to redirect to the edit address screen.
  • If the validation fails, we need to display an error warning banner at the top of the screen.
  • Provide option to use the address as it is.

Screenshot 2020-10-13 at 6 47 58 PM

  • If the API response returns a suggested address, we need to display the suggested response and allow the users to select the suggested address.

Screenshot 2020-10-13 at 6 50 55 PM

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions