/OrdersSold GET

Returns a user's sold items as a List Response.

URL
/OrdersSold
Verb
GET

Headers

Header Data Type Valid Values Required Description
Content-Type string application/json YES The format your data will be sent to our site.
X-DevKey string string YES The devkey assigned to the developer.
X-AccessToken string string YES The token acquired from a POST to Users/AccessToken.

Input

NOTE: Variables to place in the query string of the request.

Parameter Data Type Valid Values Description
BuyerUserID integer positive # User ID of the Buyer on the Order
BuyerUserName string string UserName of the Buyer on the Order
FFLStatus integer 0 - All

1 - Awaiting FFL

2 - FFL Received

3 - FFL Not Required
Filter by FFL status on the Order. Default = 0 - All.
ItemID integer positive # ItemID of the item on the Order
Keywords string string Search for Orders containing the provided keywords
OrdersModifiedSinceDate string Valid ISO 8601 DateTime format NOTE: Time entered is in UTC format.
OrderStatus integer 0 - All

1 - Pending Seller Review

2 - Pending Buyer Confirmation

3 - Pending Payment Received

4 - Pending Shipment

5 - Complete

6 - Cancelled

7 - Pending Buyer Review

8 - On Layaway
Status of the sold order. Default = 0 - All
Sort integer 0 - Order ID

1 - Buyer Name

2 - Item ID

3 - Order Date

4 - Total Price

5 - Seller Reviewed

6 - Buyer Confirmed

7 - Payment Received

8 - FFL Received

9 - Item Shipped

10 - Order Completes
The field to sort on. Default = 0 - OrderID
SortOrder integer 0 - Ascending

1 - Descending
Sort direction. Default = 1 - Descending
TimeFrame integer 1 - CreatedLast24

2 - CreatedLast48

3 - CreatedLastWeek

4 - CreatedLast2Weeks

5 - CreatedLast30Days

6 - CreatedLast60Days

7 - CreatedLast90Days

8 - All
Using this parameter requires a valid X-AccessToken authentication header. This sets the time frame to search for. Default = 3 - CreatedLastWeek.

Optional PagingParameters

Output

If there are no errors with the input parameters, this call will respond with a 200 OK and the following data as serialized JSON

Parameter Data Type Valid Values Description
Buyer User Summary User Summary The Buyer of the item on the order
BuyerConfirmed boolean true/false Indicates if Buyer has Confirmed the order
BuyerReviewed boolean true/false Indicates if Buyer has reviewed the order
CanMarkPaymentNotReceived boolean true/false Indicates if the Seller change the payment status to unpaid
CouponCode string string Coupon Code used in this order
CouponValue Decimal Decimal Value of the Coupon applied to this order
eFFLUrl string string The URL for the eFFL document associated to the selected FFL
FFLID integer integer The Object ID for the selected FFL
FFLReceived boolean true/false Indicates if Seller has Received FFL information
ItemIDs array[integers] array of positive # An array of itemIDs on the order
ItemShipped boolean true/false Indicates if the item has been shipped
LastModifiedDate DateTime Valid ISO 8601 DateTime format The time is returned in UTC.
LostCashDiscount decimal decimal Discount amount lost when using a credit card.
LostCashDiscountPercent decimal decimal Percentage Discount lost when using a credit card.
MiscCharge decimal decimal miscellaneous charge on the Order
OnLayaway boolean true/false Indicates if the order is currently on Layaway
OrderCancelled boolean true/false Indicates if the order is canelled
OrderComplete boolean true/false Indicates if the order is complete
OrderDateUTC DateTime Valid ISO 8601 DateTime format The time is returned in UTC.
SellerReviewCompleteDateUTC DateTime Valid ISO 8601 DateTime format The time is returned in UTC.
BuyerConfirmationDateUTC DateTime Valid ISO 8601 DateTime format The time is returned in UTC.
PaymentReceivedDateUTC DateTime Valid ISO 8601 DateTime format The time is returned in UTC.
FFLReceivedDateUTC DateTime Valid ISO 8601 DateTime format The time is returned in UTC.
ShipDateUTC DateTime Valid ISO 8601 DateTime format The time is returned in UTC.
SellerForcedCompleteDateUTC DateTime Valid ISO 8601 DateTime format The time is returned in UTC.
LayawayAcceptanceDateUTC DateTime Valid ISO 8601 DateTime format The time is returned in UTC.
OrderID integer positive # ID of the Order
OrderItemsCollection Order Item Order Item The Order Item information for the items in the order
PaymentLogAmount decimal positive # The amount for the most recent payment log transaction
PaymentLogCleared boolean true/false Indicates if the most recent payment log transaction was cleared
PaymentLogDateTime DateTime Valid ISO 8601 DateTime format The datetime (in UTC) for the most recent payment log transaction
PaymentLogResponseCode string string The response code for the most recent payment log transaction
PaymentLogTransactionID string string The transaction ID for the most recent payment log transaction
PaymentReceived boolean true/false Indicates if Seller has recieved payment
Seller User Summary User Summary The Seller of the item on the order
SellerReviewed boolean true/false Indicates if Seller has reviewed the order
ShipToAddress1 string string Address1 of the buyer
ShipToAddress2 string string Address2 of the buyer
ShipToCity string string City of the buyer
ShipToCountryCode string string Country of the buyer
ShipToName string string Name of the buyer
ShipToPostalCode string string Postal code of the buyer
ShipToState string string State or provinces of the buyer
ShipToPhone string string Phone number of the buyer
ShipToEmail string string Email of the buyer
BillToName string string Billing Name of the buyer
BillToAddress1 string string Billing Address1 of the buyer
BillToAddress2 string string Billing Address2 of the buyer
BillToCity string string Billing City of the buyer
BillToState string string Billing State of the buyer
BillToPostalCode string string Billing PostalCode of the buyer
BillToCountryCode string string Billing Country Code of the buyer
BillToPhone string string Billing Phone Number of the buyer
BillToEmail string string Billing Email of the buyer
ShipCost decimal positive # Shipping Price on the Order
ShipHandlingCost decimal positive # Shippinh Handling Price on the Order
ShipInsuranceCost decimal positive # Shipping Insurance Price on the Order
TotalPrice decimal positive # Total Price on the Order
SalesTaxTotal decimal positive # Total Sales Tax on the Order
TaxCloudCartID GUID GUID If TaxCloud was used to calculate taxes for this order, you can use this value to lookup the transaction in TaxCloud. This value will be null if Taxes were not calculated via TaxCloud.

Links

Rel Description Condition
self The order
item The items on the order