We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When fetching orders from shopify.Order.find(...) the billing_address and the shipping_address are not instantiated
shopify.Order.find(...)
The shipping_address and billing_address should have a value
No errors are raised the field are just set to none.
The best way to get your bug fixed is to provide a reduced test case.
oas = shopify.Order.find( order_id, fields='billing_address,shipping_address') print(oas.billing_address)
here is another exemple to show that the BillingAddress initialisation does not work
r = requests.get(SHOP_URL + f'/api/2024-07/orders/{order_id}.json?fields=billing_address,shipping_address', headers={ 'X-Shopify-Access-Token': settings.shopify_token}) billing_address = r.json()['order']['billing_address'] print(billing_address) b_addr = shopify.BillingAddress(billing_address) print(b_addr)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue summary
When fetching orders from
shopify.Order.find(...)
the billing_address and the shipping_address are not instantiatedExpected behavior
The shipping_address and billing_address should have a value
Actual behavior
No errors are raised the field are just set to none.
Steps to reproduce the problem
Reduced test case
The best way to get your bug fixed is to provide a reduced test case.
here is another exemple to show that the BillingAddress initialisation does not work
Checklist
The text was updated successfully, but these errors were encountered: