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 support for querying batch product pricing #15

Merged

Conversation

fieryprophet
Copy link
Contributor

No issue assigned.

Description

Adds support for querying batch product pricing as defined at: https://developer.bigcommerce.com/api-reference/92c669fa29742-get-prices-batch

Requires customer_group_id and items which is a list of objects specifying the items to price.
Optional parameters are channel_id which defaults to 1 for the default BC storefront ID, and currency_code which defaults to USD.

Copy link
Collaborator

@r-thomson r-thomson left a comment

Choose a reason for hiding this comment

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

I know BigCommerce structures this resource like /pricing/products, but I think it would make more sense on our end to structure the wrapper like bigcommerce.products.get_prices()

bigc/resources/pricing.py Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
bigc/resources/pricing.py Outdated Show resolved Hide resolved
@r-thomson r-thomson merged commit 50c67fa into MedShift:master Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants