Quantcast
Channel: Opinion: Shopify Community - Shopify APIs & SDKs
Viewing all articles
Browse latest Browse all 25503

Bug in the Fulfillment API of Shopify by Utpal Maity

$
0
0

Hi All,

Recently I am woking with the Shopify API and I have found a critical bug in the core API of Fulfillment provided by Shopify. The situation is like that I have created an order with 5 items. After that I have craeted two fulfillment document on that order . When I called the fulfillment service for that order two fulmillment document array are coming for two fulfillment but in the lineitems for both fulfillment array the item quantity is 5, whereas for first fulfillment item the item quantity should be 2 and for second fulfillment the item quantity should be 3.


<fulfillments type="array">
<fulfillment>
<created-at type="dateTime">2014-07-31T05:36:58-04:00</created-at>
<id type="integer">211290917</id>
<order-id type="integer">312323621</order-id>
<service>manual</service>
<status>success</status>
<tracking-company>Other</tracking-company>
<updated-at type="dateTime">2014-07-31T05:36:58-04:00</updated-at>
<tracking-number nil="true"/>
<tracking-numbers type="array"/>
<tracking-url nil="true"/>
<tracking-urls type="array"/>
<receipt></receipt>
<line-items type="array">
<line-item>
<fulfillment-service>manual</fulfillment-service>
<fulfillment-status>fulfilled</fulfillment-status>
<gift-card type="boolean">false</gift-card>
<grams type="integer">0</grams>
<id type="integer">555142385</id>
<price type="decimal">222.00</price>
<product-id type="integer">349069461</product-id>
<quantity type="integer">5</quantity>
<requires-shipping type="boolean">true</requires-shipping>
<sku>ComparePrice01</sku>
<taxable type="boolean">true</taxable>
<title>ComparePrice description</title>
<variant-id type="integer">862459893</variant-id>
<variant-title/>
<vendor>AppseConnect</vendor>
<name>ComparePrice description</name>
<variant-inventory-management/>
<properties type="array"></properties>
<product-exists type="boolean">true</product-exists>
<fulfillable-quantity type="integer">0</fulfillable-quantity>
<tax-lines type="array"/>
</line-item>
</line-items>
</fulfillment>
<fulfillment>
<created-at type="dateTime">2014-07-31T02:38:22-04:00</created-at>
<id type="integer">211256469</id>
<order-id type="integer">312323621</order-id>
<service>manual</service>
<status>success</status>
<tracking-company>Other</tracking-company>
<updated-at type="dateTime">2014-07-31T02:38:22-04:00</updated-at>
<tracking-number nil="true"/>
<tracking-numbers type="array"/>
<tracking-url nil="true"/>
<tracking-urls type="array"/>
<receipt></receipt>
<line-items type="array">
<line-item>
<fulfillment-service>manual</fulfillment-service>
<fulfillment-status>fulfilled</fulfillment-status>
<gift-card type="boolean">false</gift-card>
<grams type="integer">0</grams>
<id type="integer">555142385</id>
<price type="decimal">222.00</price>
<product-id type="integer">349069461</product-id>
<quantity type="integer">5</quantity>
<requires-shipping type="boolean">true</requires-shipping>
<sku>ComparePrice01</sku>
<taxable type="boolean">true</taxable>
<title>ComparePrice description</title>
<variant-id type="integer">862459893</variant-id>
<variant-title/>
<vendor>AppseConnect</vendor>
<name>ComparePrice description</name>
<variant-inventory-management/>
<properties type="array"></properties>
<product-exists type="boolean">true</product-exists>
<fulfillable-quantity type="integer">0</fulfillable-quantity>
<tax-lines type="array"/>
</line-item>
</line-items>
</fulfillment>
</fulfillments>


Viewing all articles
Browse latest Browse all 25503

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>