Skip to content
This repository was archived by the owner on Nov 30, 2022. It is now read-only.
This repository was archived by the owner on Nov 30, 2022. It is now read-only.

rest api  #1231

Open
Open
@unplugged216

Description

@unplugged216

For bug reporting only! If you're posting a feature request or discussion, please ignore.

Expected Behavior

When following the documented method for querying customer information in a shop, I am expecting to get a single result back.

$req = $shop->api()->rest('GET','/admin/api/customers/search.json', ['query' => 'email:[email protected]'])['body'];

Current Behavior

When running the above query, it is as if the query is not actually run and instead all results are returned. I have confirmed a single customer exists with that email. Yet it returns 50 results not just the single customer.

Failure Information

N/A

Steps to Reproduce

Run the above query using an email you know exists

Metadata

Metadata

Assignees

No one assigned

    Labels

    help-wantedContributor help would be nice!needs-infoMore information requiredunconfirmedUnconfirmed yet if it is a true bug/issue.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions