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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add params for productListing typings #485

Merged
merged 1 commit into from
May 3, 2021
Merged

Add params for productListing typings #485

merged 1 commit into from
May 3, 2021

Conversation

dcrdev
Copy link
Contributor

@dcrdev dcrdev commented May 3, 2021

The productListing count method typings were missing the ability to pass in params.

The productListing count supports a number of params:
https://shopify.dev/docs/admin-api/rest/reference/products/product#count-2021-04

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling d9f3837 on slingshotlabs:master into a739069 on MONEI:master.

@lpinca lpinca merged commit 6bc6f3a into MONEI:master May 3, 2021
@lpinca
Copy link
Collaborator

lpinca commented May 3, 2021

Thank you.

@lpinca
Copy link
Collaborator

lpinca commented May 4, 2021

Btw this is not documented. The documentation you linked is for the Product resource not ProductListing. See https://shopify.dev/docs/admin-api/rest/reference/sales-channels/productlisting#count-2021-04.

@lpinca
Copy link
Collaborator

lpinca commented May 4, 2021

Do you know what are the accepted parameters so that I can write a test for this?

lpinca added a commit that referenced this pull request May 6, 2021
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.

3 participants