# GET.REFUNDS

Read Time: 1 minute(s)

This endpoint retrieves Refund Detail as a JSON encoded repsonse.

# POST Request Attributes

Attribute Description Required
atoken Authorization token to allow access to the service and dictate which refunds 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
serial Serial Number
dep DEP ID
{
    "refunds": [
        {
            "store": "1",
            "date": "11/09/21",
            "reg": "888",
            "tran": "2961",
            "sku": "2029145",
            "qty": "-1",
            "net.rtl.price": "-300",
            "serial": "T1",
            "dep": "FSDFSD",
        },
        {
            "store": "1",
            "date": "11/09/21",
            "reg": "888",
            "tran": "2961",
            "sku": "2029145",
            "qty": "-1",
            "net.rtl.price": "-300",
            "serial": "T2",
            "dep": "FSDFSD",
        },
        {
            "store": "1",
            "date": "11/09/21",
            "reg": "888",
            "tran": "2980",
            "sku": "2029145",
            "qty": "-1",
            "net.rtl.price": "-300",
            "serial": "T1",
            "dep": "FSDFSD",
        },
        {
            "store": "1",
            "date": "11/09/21",
            "reg": "888",
            "tran": "29829",
            "sku": "2029145",
            "qty": "-1",
            "net.rtl.price": "-300",
            "serial": "T2",
            "dep": "DEPID123XYZ",
        },
    ]
}
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48