# GET.MODS

Read Time: 1 minute(s)

This endpoint retrieves Modified Sales Detail as a JSON encoded repsonse.

# POST Request Attributes

Attribute Description Required
atoken Authorization token to allow access to the service and dictate which modified sales and fields will be returned ✔️
entity This tells the api what database to use ✔️
debug If flag is set then error messages will be more verbose. Also used for internal testing

# Example Request

{
    "atoken" : "atoken",
    "entity" : "entity",
    "debug"  : "0"
}
1
2
3
4
5

# Example Response

Attribute Description
store Store Number
date Date (mm/dd/yy)
reg Register Number
tran Transaction Number
sku Internal Inventory Number
qty Quantity
net.rtl.price Retail Price
old.serial Old Serial Number
new.serial New Serial Number
dep DEP ID
{
    "refunds": [
        {
            "store": "1",
            "date": "11/09/21",
            "reg": "888",
            "tran": "2961",
            "sku": "2029145",
            "qty": "-1",
            "net.rtl.price": "-300",
            "old.serial": "T1",
            "new.serial": "TEST1",
            "dep": "FSDFSD",
        },
        {
            "store": "1",
            "date": "11/09/21",
            "reg": "888",
            "tran": "2961",
            "sku": "2029145",
            "qty": "-1",
            "net.rtl.price": "-300",
            "old.serial": "T2",
            "new.serial": "TEST2",
            "dep": "FSDFSD",
        },
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28