Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add metafields to PickupLocationOption #1996

Merged
merged 2 commits into from
May 22, 2024
Merged

Add metafields to PickupLocationOption #1996

merged 2 commits into from
May 22, 2024

Conversation

aledalgrande
Copy link
Contributor

@aledalgrande aledalgrande commented May 22, 2024

Background

Metafields were added to PickupLocationOption.

Solution

Adds types for metafields in PickupLocationOption.

馃帺

https://shopify-dev.checkout-web-api-docs-53fq.alessandro-dalgrande.us.spin.dev/docs/api/checkout-ui-extensions/unstable/apis/delivery

Checklist

  • I have 馃帺'd these changes
  • I have updated relevant documentation

/**
* The metafields associated with this delivery option.
*/
metafields?: Metafield[];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There was an ask previously have this always defined, but return an empty array if no metafields exist. Was this not possible? Open to a follow-up, if necessary.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a follow-up issue for this.

@jamesvidler jamesvidler merged commit 662ac03 into unstable May 22, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants