• Resolved mnomner

    (@mnomner)


    I have a woocommerce webstore connected to my wordpress site. The API for WC is sending the wrong value for cost. It’s actually sending the price instead of cost. Is anyone else experiencing this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter mnomner

    (@mnomner)

    bump?

    Could you explain what you’re trying to do?
    Where are you seeing a discrepancy between the price and cost?

    Thread Starter mnomner

    (@mnomner)

    I’m building an ERP integration with Woo-commerce. When I’m dropping items from WC to the ERP, the value it is passing for the Cost is actually the Price. It is not an issue with my code, the raw value I’m actually getting from WC’s API is sending the Price as the Cost.

    [Moderator note: Please, No bumping.

    Thread Starter mnomner

    (@mnomner)

    hello?

    Thomas Shellberg

    (@shellbeezy)

    Automattic Happiness Engineer

    @mnomner – Are you referring to the “cost” of the item as in the amount it cost to purchase the item as the business owner(Cost of Good)? That isn’t a default field within WooCommerce and thus not available as part of the API.

    jessepearson

    (@jessepearson)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WC API sending incorrect cost’ is closed to new replies.