Created
July 16, 2012 16:24
-
-
Save edward/3123605 to your computer and use it in GitHub Desktop.
Example updating of a fulfillment tracking number and company
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Request: | |
PUT https://7ea7a2ff231a9f7d4be696837482e55f:SOME_WORKING_PASSWORD@iliketurtles.myshopify.com/admin/orders/17821822/fulfillments/7784932.xml | |
<?xml version="1.0" encoding="UTF-8"?> | |
<fulfillment> | |
<tracking-number>some tracking number</tracking-number> | |
<tracking-company>some company</tracking-company> | |
</fulfillment> | |
==================== | |
Response body: | |
<?xml version="1.0" encoding="UTF-8"?> | |
<fulfillment> | |
<id type="integer">7784932</id> | |
<order-id type="integer">17821822</order-id> | |
<created-at type="datetime">2010-01-04T15:26:17-05:00</created-at> | |
<updated-at type="datetime">2012-07-16T12:20:25-04:00</updated-at> | |
<tracking-number>some tracking number</tracking-number> | |
<tracking-company>some company</tracking-company> | |
<status>success</status> | |
<service>manual</service> | |
<receipt> | |
</receipt> | |
<line-items type="array"> | |
<line-item> | |
<id type="integer">30310062</id> | |
<requires-shipping type="boolean">true</requires-shipping> | |
<fulfillment-service>manual</fulfillment-service> | |
<grams type="integer">0</grams> | |
<price type="decimal">0.0</price> | |
<quantity type="integer">1</quantity> | |
<sku></sku> | |
<title>Sneaker</title> | |
<product-id type="integer">7288302</product-id> | |
<variant-id type="integer">20490272</variant-id> | |
<vendor>Shopify</vendor> | |
<variant-title nil="true"></variant-title> | |
<fulfillment-status>fulfilled</fulfillment-status> | |
<name>Sneaker</name> | |
<variant-inventory-management nil="true"></variant-inventory-management> | |
</line-item> | |
</line-items> | |
</fulfillment> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment