Closed MBogdan18 closed 4 years ago
Feel free to open a PR to fix the type definitions. It looks like country_harmonized_system_codes
and province_code_of_origin
are also missing and country_code_of_origin
, and harmonized_system_code
can be null
.
According to both the Shopify API documentation and the screenshot below, when I retrieve an inventory item I should be prompted with the cost field. However, I can not access it because the property doesn't exist on the interface itself and TypeScript returns an error as a result.
GET /admin/api/2020-10/inventory_items/808950810.json docs: https://shopify.dev/docs/admin-api/rest/reference/inventory/inventoryitem#show-2020-10
Mentioning that I do have the latest version installed (3.5.1 as of the date this was written).