Brings back an array of a logged-in user's sales on the Everygamegoing site which match the filter supplied.

http://www.everygamegoing.com/api/v1/getMySales/[postal_state]

[postal_state] is an optional parameter. If not supplied, the default [postal_state] is used, which is "Ready To Ship".

If you are logged-in to Everygamegoing, and you have orders that match the [postal_state] supplied by the call, it will return a response containing an array similar to the following:

{
	"response":
	{
		"count":10,
		"orders":
		{
			"123":
			{
				"items":
				[
					{
						"show_title":"Devil's Triangle",
						"publisher_info":"Abacus",
						"machine_type_group_name":"Dragon 32",
						"price":"29.95",
						"historical_storage_container_name":"DRAGON-004",
						"sales_item_id":1254,
						"item_id":11481,
						"historical_storage_container_id":33
					}
				],

				... [another nine records] ...

				"address":
				{
					"first_name":"David",
					"last_name":"Brent",
					"address_1":"27 Prospect Place",
					"address_2":"Domanstown",
					"address_3":"",
					"city":"Redcar",
					"county":"Cleveland",
					"postcode":"TS11 3NN",
					"country_id":"GB",
					"address_id":17,
					"user_id":22
				}
			}
			...
		}
	}
}

 
The fields returned are all self-explanatory but a table explaining them is given below.

Key Human-readable Explanation Value Data Type Value Example
count Count Integer 10
orders Orders Array  
Key Human-readable Explanation Value Data Type Value Example
[order_id] Order ID Array 123
Key Human-readable Explanation Value Data Type Value Example
items Items Array
Key Human-readable Explanation Value Data Type Value Example
show_title Show Title String Devil's Triangle
publisher_info Publisher String Abacus
machine_type_group_name Machine Type Group Name String Dragon 32
price Price String 29.95
historical_storage_container_name Historial Storage Container Name String DRAGON-004
sales_item_id Sales Item ID Integer 1254
item_id Item ID Integer 11481
historical_storage_container_id Historical Storage Container ID Integer 33
address Address Array  
Key Human-readable Explanation Value Data Type Value Example
first_name First Name String David
last_name Last Name String Brent
address_1 Address Line 1 String 27 Prospect Place
address_2 Address Line 2 String Dormanstown
address_3 Address Line 3 String
city City/Town String Redcar
county County String Cleveland
postcode Postcode String TS11 3NN
country_id Country ID String GB
address_id Address ID Integer 17
user_id User ID Integer 22

Alternative Filters

At the moment, only one alternative filter is supported. Using 'Posted' as the [postal_state], like this:

http://www.everygamegoing.com/api/v1/getMySales/Posted

will return an array containing all of the orders you have already posted. The response format is identical.