Skip to content

low_stock_amount is string #77

Open
@jmatah

Description

@jmatah

Issue summary

When I fetch a WooCommerce product using this API, the variable low_stock_amount is an empty string, I believe should be an integer '0'.

Expected behavior

Always return an integer. or a 0

Actual behavior

It returns an empty string.

Steps to reproduce the problem

  1. response = wcapi.get('products', params={'sku':sku}).json()
  2. print(response)

##Related bug
I believe this is a related bug


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions