POST api/SKU/SavePromoSKUCode

Request Information

URI Parameters

None.

Body Parameters

PromoSKUCodePerDistributor
NameDescriptionTypeAdditional information
id

integer

None.

skuId

integer

None.

distributor

Distributor

None.

distributorId

integer

None.

code

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "skuId": 2,
  "distributor": {
    "id": 1,
    "name": "sample string 2",
    "logo": "QEA=",
    "distributorBrands": [
      {
        "id": 1,
        "brand": {
          "id": 1,
          "name": "sample string 2",
          "code": "sample string 3",
          "createdAt": "2026-02-25T11:08:19.9990274+00:00",
          "updatedAt": "2026-02-25T11:08:19.9990274+00:00"
        },
        "createdAt": "2026-02-25T11:08:19.9990274+00:00"
      },
      {
        "id": 1,
        "brand": {
          "id": 1,
          "name": "sample string 2",
          "code": "sample string 3",
          "createdAt": "2026-02-25T11:08:19.9990274+00:00",
          "updatedAt": "2026-02-25T11:08:19.9990274+00:00"
        },
        "createdAt": "2026-02-25T11:08:19.9990274+00:00"
      }
    ],
    "distributorChannels": [
      {
        "id": 1,
        "createdAt": "2026-02-25T11:08:19.9990274+00:00",
        "updatedAt": "2026-02-25T11:08:19.9990274+00:00",
        "channel": {
          "id": 1,
          "name": "sample string 2",
          "code": "sample string 3",
          "createdAt": "2026-02-25T11:08:19.9990274+00:00",
          "updatedAt": "2026-02-25T11:08:19.9990274+00:00"
        }
      },
      {
        "id": 1,
        "createdAt": "2026-02-25T11:08:19.9990274+00:00",
        "updatedAt": "2026-02-25T11:08:19.9990274+00:00",
        "channel": {
          "id": 1,
          "name": "sample string 2",
          "code": "sample string 3",
          "createdAt": "2026-02-25T11:08:19.9990274+00:00",
          "updatedAt": "2026-02-25T11:08:19.9990274+00:00"
        }
      }
    ],
    "country": {
      "id": 1,
      "name": "sample string 2",
      "currency": "sample string 3",
      "exchangeRate": 4.0,
      "createdAt": "2026-02-25T11:08:19.9990274+00:00",
      "updatedAt": "2026-02-25T11:08:19.9990274+00:00"
    },
    "createdAt": "2026-02-25T11:08:19.9990274+00:00",
    "updatedAt": "2026-02-25T11:08:19.9990274+00:00"
  },
  "distributorId": 3,
  "code": "sample string 4"
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.