GET v1/coupons/GetCouponDiscounts/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Common.Dto.Get.DiscountConfigurationSummary
NameDescriptionTypeAdditional information
name

string

None.

description

string

None.

code

string

None.

discountType

string

None.

remainingUsagesUntilStart

integer

None.

remainingUsage

integer

None.

amount

decimal number

None.

status

string

None.

frequencyOverrides

Collection of Common.Dto.Get.DiscountConfigurationFrequency

None.

netsuiteItemId

string

None.

id

integer

None.

uri

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "name": "sample string 1",
    "description": "sample string 2",
    "code": "sample string 3",
    "discountType": "sample string 4",
    "remainingUsagesUntilStart": 5,
    "remainingUsage": 1,
    "amount": 6.0,
    "status": "sample string 7",
    "frequencyOverrides": [
      {
        "interval": "sample string 1",
        "numberOfIntervals": 2,
        "discountType": "sample string 3",
        "remainingUsagesUntilStart": 4,
        "remainingUsage": 1,
        "amount": 5.0
      },
      {
        "interval": "sample string 1",
        "numberOfIntervals": 2,
        "discountType": "sample string 3",
        "remainingUsagesUntilStart": 4,
        "remainingUsage": 1,
        "amount": 5.0
      }
    ],
    "netsuiteItemId": "sample string 8",
    "id": 9,
    "uri": "sample string 10"
  },
  {
    "name": "sample string 1",
    "description": "sample string 2",
    "code": "sample string 3",
    "discountType": "sample string 4",
    "remainingUsagesUntilStart": 5,
    "remainingUsage": 1,
    "amount": 6.0,
    "status": "sample string 7",
    "frequencyOverrides": [
      {
        "interval": "sample string 1",
        "numberOfIntervals": 2,
        "discountType": "sample string 3",
        "remainingUsagesUntilStart": 4,
        "remainingUsage": 1,
        "amount": 5.0
      },
      {
        "interval": "sample string 1",
        "numberOfIntervals": 2,
        "discountType": "sample string 3",
        "remainingUsagesUntilStart": 4,
        "remainingUsage": 1,
        "amount": 5.0
      }
    ],
    "netsuiteItemId": "sample string 8",
    "id": 9,
    "uri": "sample string 10"
  }
]