{"_id":"56a992aff834950d0037b385","editedParams2":true,"githubsync":"","parentDoc":null,"__v":11,"project":"567f0c06143cc60d00c1fdbe","user":"567f0baca74a1c0d003e1fba","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,"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"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-01-28T04:01:51.880Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"code":"curl -X GET https://tophatter.com/merchant_api/v1/orders/retrieve.json \\\n-d 'access_token=YOUR_ACCESS_TOKEN' \\\n-d 'order_id=1035509247'","language":"curl"}]},"method":"get","results":{"codes":[{"status":200,"language":"json","code":"{\n  \"order_id\": 1035509247,\n  \"status\": \"paid\",\n  \"carrier\": null,\n  \"tracking_number\": null,\n  \"product_name\": \"Apple iPhone 6S\",\n  \"product_identifier\": \"6631A\",\n  \"product_internal_id\": fake-id (1111111),\n  \"variation_identifier\": \"6631A-BLACK\",\n  \"variation_internal_id\": fake-id (1111111),\n  \"customer_name\": \"Jane Doe\",\n  \"customer_id\": 1034347337,\n  \"address1\": \"123 Main Street\",\n  \"address2\": \"\",\n  \"city\": \"Los Altos\",\n  \"state\": \"CA\",\n  \"postal_code\": \"94022\",\n  \"country\": \"USA\",\n  \"available_refunds\": {\n    \"buyer_fee\": fake-item-fee (102.0),\n    \"shipping_fee\": fake-shipping-fee (5.0),\n    \"lot_upsell_fee\": fake-upsell-fee (9.0)\n  },\n  \"refund_amount\": null,\n  \"disbursement_amount\": \"fake-disbursement-amount (92.9)\",\n  \"seller_fees_amount\": fake-fee-amount (14.1),\n  \"seller_fees\": [\n    {\n      \"type\": \"scheduling_fee\",\n      \"amount\": fake-scheduling-fee (0.67)\n    },\n    {\n      \"type\": \"commission_fee\",\n      \"amount\": fake-commission-fee (10.7)\n    },\n    {\n      \"type\": \"processing_fee\",\n      \"amount\": fake-processing-fee (3.4)\n    }\n  ],\n  \"upsells\": [\n    {\n       \"type_description\": \"buy_one_get_one\",\n       \"amount\": \"fake-upsell-amount (9.0)\",\n       \"description\": null\n    },\n    {\n       \"type_description\": \"accessory\",\n       \"amount\": \"fake-upsell-amount (2.0)\",\n       \"description\": null\n    }\n  ],\n  \"refunded_at\": null,\n  \"paid_at\": \"2016-11-22T12:51:45-08:00\",\n  \"created_at\": \"2016-11-22T15:48:25-08:00\",\n  \"updated_at\": \"2016-01-22T23:24:09-08:00\",\n  \"canceled_at\": null\n}","name":""}]},"settings":"","auth":"required","params":[{"_id":"58351d35b85f2f0f00463925","ref":"","in":"query","required":false,"desc":"The order_id of the order you wish to retrieve.","default":"","type":"int","name":"order_id"}],"url":"/orders/retrieve.json"},"isReference":false,"order":2,"body":"","excerpt":"","slug":"order-retrieve","type":"endpoint","title":"Retrieve an Order"}