Announcement

Collapse
No announcement yet.

How can we update Volume Pricing for product using Miva json api

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How can we update Volume Pricing for product using Miva json api

    Hello Team,

    I have requirement for update volume pricing for a product using Miva json API. I have check all JSON API Functions, but I didn't get any function to update volume pricing for a product.

    I have attached screenshot for product edit page in Miva merchant.

    Is there any way We can update this details using Miva json API?


    Product_VolumePricing.png

  • The JSON API does not have any explicit functions to import these values, however since they are supported in our XML provisioning format, you can use this function to import the XML data:

    https://docs.miva.com/json-api/funct...rovision_store

    Code:
    <Module code="discount_volume" feature="provision_store">
        <ProductPricingTable product_code="test" group_name="Volume_Pricing">
            <Entry quantity="25" type="absolute" amount="9.00" />
            <Entry quantity="3" type="absolute" amount="10.00" />
        </ProductPricingTable>
    </Module>
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


    • Thank you very much Brennan,

      This working fine.

      Comment

      Working...
      X

      This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

      This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

      Accept