{"_id":"56a9926bf834950d0037b381","user":"567f0baca74a1c0d003e1fba","parentDoc":null,"__v":5,"editedParams2":true,"githubsync":"","category":{"_id":"56a9783b2d8fd90d0036eed6","version":"567f0c06143cc60d00c1fdc1","__v":10,"pages":["56a99246318e6c1700a19d06","56a9924c257fbc0d00d4763a","56a9926bf834950d0037b381","56a99273257fbc0d00d4763c","56a992863b04f20d00ecca87","56a9928df834950d0037b383","56a992aff834950d0037b385","56a992d413a69a0d00a778de","56a9f82aca491e0d00eb8b12","56a9f959257fbc0d00d476c2"],"project":"567f0c06143cc60d00c1fdbe","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-01-28T02:08:59.138Z","from_sync":false,"order":3,"slug":"orders","title":"Orders"},"editedParams":true,"project":"567f0c06143cc60d00c1fdbe","version":{"_id":"567f0c06143cc60d00c1fdc1","__v":9,"project":"567f0c06143cc60d00c1fdbe","createdAt":"2015-12-26T21:52:06.734Z","releaseDate":"2015-12-26T21:52:06.734Z","categories":["567f0c07143cc60d00c1fdc2","56a9783109cb9c0d00f0c7d3","56a97837f834950d0037b363","56a9783b2d8fd90d0036eed6","56a979912d8fd90d0036eed8","5834b5691a80690f00d31faf","5834b5e4f775120f00c45f9d","5bf1a1473031e4005075ae14","5c64c200244bda003204b97f"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1"},"metadata":{"title":"","description":"","image":[]},"updates":["5b440ddf3d5b29000349859b"],"next":{"pages":[],"description":""},"createdAt":"2016-01-28T04:00:43.894Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"code":"curl -X POST https://tophatter.com/merchant_api/v1/orders/fulfill.json \\\n-d 'access_token=YOUR_ACCESS_TOKEN' \\\n-d 'order_id=1035509247' \\\n-d 'carrier=USPS' \\\n-d 'tracking_number=9400111899562173406594'","language":"curl"}]},"method":"post","results":{"codes":[{"name":"","status":200,"language":"json","code":"{\n  \"order_id\": 1035509247,\n  \"status\": \"shipped\",\n  \"carrier\": \"usps\",\n  \"tracking_number\": \"9400111899562173406594\",\n  ...\n}"}]},"settings":"","auth":"required","params":[{"_id":"56a9f7f4f834950d0037b411","ref":"","in":"body","required":true,"desc":"The order_id of the order you wish to fulfill.","default":"","type":"int","name":"order_id"},{"_id":"56a9f7f4f834950d0037b410","ref":"","in":"body","required":true,"desc":"The carrier (USPS, China EMS, etc) used to ship this order. The list of accepted carries can be found [here](doc:carriers).","default":"","type":"string","name":"carrier"},{"_id":"56a9f7f4f834950d0037b40f","ref":"","in":"body","required":true,"desc":"The tracking number provided by the carrier when this order was shipped.","default":"","type":"string","name":"tracking_number"}],"url":"/orders/fulfill.json"},"isReference":false,"order":3,"body":"","excerpt":"","slug":"order-fulfill","type":"endpoint","title":"Fulfill an Order"}

postFulfill an Order


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

order_id:
required
integer
The order_id of the order you wish to fulfill.
carrier:
required
string
The carrier (USPS, China EMS, etc) used to ship this order. The list of accepted carries can be found [here](doc:carriers).
tracking_number:
required
string
The tracking number provided by the carrier when this order was shipped.

Examples


Result Format