Skip to content

[POS] Access to current POS location address via useApi #2489

Open
@patryk-smc

Description

Please list the related package(s)

    "@shopify/ui-extensions": "2024.10.0",
    "@shopify/ui-extensions-react": "2024.10.0",

If this related to specific APIs or components, please list them here

useApi()

Is your feature request related to a problem? Please describe.

Our extension relies on current POS location and there is no way to know from which location the extension is called.

Describe the changes you are looking for

Add posLocation object to useApi with location address.

Describe alternatives you’ve considered

Additional context

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions