Announcement

Collapse
No announcement yet.

Update Order Status with attributes via XML Provisioning

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

    Update Order Status with attributes via XML Provisioning

    I wish to use the provisioning system to update our store but am not sure how to deal with SKUs with attributes.

    XML Refference Docs
    https://remote-provisioning-docs.rea...etting-started

    The docs are using a SKU without attributes and do not mention them. It is normal for us to have multiple "parent" SKUs in an order with various combinations of attributes.

    Some background. We use variants in the store to track inventory levels and have matching SKUs for those variants in the backend using Order Manager. The orders in the store are Parent SKUs with attributes and in Order Manager those attributes are applied to actual SKUs (same as the matching variants in the store).

    Thanks for any help
    -Mike

    http://www.bandana.com
    http://www.wholesaleforeveryone.com

    #2
    Stone Edge can already sync inventory variant inventory without using Remote provisioning. It syncs products using the product code as the identifier. You just need the SKUs you have setup in Stone Edge to match the Product Code in Miva.

    Typically this means, generating variants in Miva, then going back though all the automatically generated part products and updating the product codes to be the variant SKU.


    Order Status should work as well, stone edge send back the item level status: http://www.stoneedge.com/help/merged...a_Merchant.htm
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      Thanks for responding Brennan. I didn't realize OM had native updating for order status but it probably won't work for us.

      We do not ship packages using OM. We use Shipworks and I have a SQL procedure that pulls tracking numbers from SW and then puts them into OMs tracking table directly. I would assume the shipping forms in OM would trigger the site status update. There aren't any SQL side table triggers set.

      Also I use provisioning already for the inventory QOH update of the variants(and a lot of other things). It needs to be done that way for business logic reasons. OM can't do what we want directly. It doesn't handle Kits and doesn't have a way to "force" a product to be on.

      So with all that being said what does the XML provisioning look for in a SKU with attributes? Is it the SKU plus attributes? Just the variant SKU? Something else?
      Last edited by mikey; 02-07-17, 12:23 PM.
      http://www.bandana.com
      http://www.wholesaleforeveryone.com

      Comment


        #4
        The way you handle products with specific attributes is to reference the item by its order line_id when creating the shipment. This means when you are downloading the order you need to grab this data. This unique line_id will reference a specific item/attribute combination in the order.

        It would look like this:

        Code:
         <OrderShipment_Add order_id="1000">
        <ProductList>  
            <Product product_code="test" line_id="12345" quantity="1"/>
        </ProductList>
        <Code>1000-1</Code>
        </OrderShipment_Add>
        Brennan Heyde
        VP Product
        Miva, Inc.
        [email protected]
        https://www.miva.com

        Comment

        Working...
        X