FlxpointAPI Help CenterBeta

Update Mapping Set

patchhttps://api.flxpoint.com/mapping-set/{id}

Use this when you want to update mappingset data through the API.

๐Ÿ”‘ X-API-TOKENโฑ 2 req/sToken: Account ยท Source ยท Channel

This page explains the endpoint. To send a live test request, use the interactive tester in Stoplight or your own Postman / HTTP client.

Update a mapping set.

Request

Bodyapplication/json
idinteger
accountIdinteger
createdByUserIdinteger
createdAtstring
namestringrequired
descriptionstring
totalItemsinteger
exclusionListForSourceIdinteger
exclusionTypestring
Required when 'exclusionListForSourceId' is provided. Specifies the type of exclusion being applied. Use 'sku', 'brand', or 'category'.
allowedskubrandcategory

Example request

patch/mapping-set/{id}
curl -X PATCH "https://api.flxpoint.com/mapping-set/{id}" \
  -H "Accept: application/json" \
  -H "X-API-TOKEN: YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
         "id": 0,
         "accountId": 0,
         "createdByUserId": 0,
         "createdAt": "string",
         "name": "string",
         "description": "string",
         "totalItems": 0,
         "exclusionListForSourceId": 0,
         "exclusionType": "sku"
       }'
Example body ยท application/json
{
  "id": 0,
  "accountId": 0,
  "createdByUserId": 0,
  "createdAt": "string",
  "name": "string",
  "description": "string",
  "totalItems": 0,
  "exclusionListForSourceId": 0,
  "exclusionType": "sku"
}

Responses

200OKapplication/json
idinteger
accountIdinteger
createdByUserIdinteger
createdAtstring
namestringrequired
descriptionstring
totalItemsinteger
exclusionListForSourceIdinteger
exclusionTypestring
Required when 'exclusionListForSourceId' is provided. Specifies the type of exclusion being applied. Use 'sku', 'brand', or 'category'.
allowedskubrandcategory
Example response
{
  "id": 0,
  "accountId": 0,
  "createdByUserId": 0,
  "createdAt": "string",
  "name": "string",
  "description": "string",
  "totalItems": 0,
  "exclusionListForSourceId": 0,
  "exclusionType": "sku"
}
404Not Found

No schema documented for this status.

OpenAPI fragment
{
  "patch": {
    "summary": "Update Mapping Set",
    "description": "Update a mapping set.",
    "parameters": [],
    "requestBody": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/MappingSet"
          }
        }
      }
    },
    "responses": {
      "200": {
        "description": "OK",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/MappingSet"
            }
          }
        }
      },
      "404": {
        "description": "Not Found"
      }
    }
  }
}
Ready to run it? Send the curl from your terminal or Postman, or use the interactive tester in Stoplight.Open in Stoplight