You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting from the shopify-api-ruby 10.0.0 if the REST API is used there is no way to get a profile_id attribute related to the particular ShippingZone resource.
shopify_api version: 10.0.0 and up
Expected behavior
The profile_id attribute of the ShippingZone REST resource should return a string (e.g. gid://shopify/DeliveryProfile/<profile_id>) or nil if there are no related profile.
It should work for all API versions.
Actual behavior
It returns the TypeError Exception
Steps to reproduce the problem
Get an existing ShippingZone by using REST API
Try to access its profile_id
The text was updated successfully, but these errors were encountered:
Thanks for your patience with this! I've tracked down the root problem and we are working on a fix! Unfortunately, the problem seems to be a type misunderstanding upstream with our API at Shopify so I'm not in complete control of the fix. I see this root issue affecting several other issues within our REST resources here which is a bummer :(
As a workaround, you could use the rest client directly directly, though you'll have to parse the response accordingly.
Issue summary
Starting from the
shopify-api-ruby
10.0.0 if the REST API is used there is no way to get aprofile_id
attribute related to the particular ShippingZone resource.shopify_api
version: 10.0.0 and upExpected behavior
The
profile_id
attribute of the ShippingZone REST resource should return a string (e.g.gid://shopify/DeliveryProfile/<profile_id>
) or nil if there are no related profile.It should work for all API versions.
Actual behavior
It returns the TypeError Exception
Steps to reproduce the problem
profile_id
The text was updated successfully, but these errors were encountered: