---
updatedAt: 2026-09-29T09:19:20.000Z
agentTools:
  projectIndex: https://valorapi.readme.io/llms.txt
---

# Update Modifier

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "secure-link-v1",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://securelink-staging.valorpaytech.com/api/v1/"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/update-modifier": {
      "put": {
        "summary": "Update Modifier",
        "description": "",
        "operationId": "v1-update-modifier",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "appid",
                  "appkey",
                  "epi",
                  "product_id",
                  "item_name",
                  "description",
                  "quantity",
                  "unit_cost",
                  "taxable",
                  "inventory",
                  "is_active",
                  "precedence",
                  "group_name"
                ],
                "properties": {
                  "appid": {
                    "type": "string",
                    "description": "Merchant APP ID (Alphanumeric - Length of 32 chars)",
                    "default": "h6tSvf0Cz7fSB86B44bkLEplS15AsWYo"
                  },
                  "appkey": {
                    "type": "string",
                    "description": "Merchant APP KEY (Alphanumeric - Length of 32 chars and special chars $@%#)",
                    "default": "zOKj0LUOiW4L9jFRrMbMiJQ5KxQEpSMm"
                  },
                  "epi": {
                    "type": "string",
                    "description": "EPI is an end point identifier, Identify the device on valor infrastructure, it's a 10 digit number starts with 2",
                    "default": "2412333540"
                  },
                  "product_id": {
                    "type": "integer",
                    "description": "Product unique id",
                    "default": 257679,
                    "format": "int32"
                  },
                  "product_code": {
                    "type": "string",
                    "description": "SKU number is used to identify and track products",
                    "default": "SK002"
                  },
                  "item_name": {
                    "type": "string",
                    "description": "Modifier Name must not exceed 50 alphanumeric characters.",
                    "default": "Apple"
                  },
                  "description": {
                    "type": "string",
                    "description": "Description must not exceed 50 alphanumeric characters.",
                    "default": "Testproduct"
                  },
                  "quantity": {
                    "type": "integer",
                    "description": "Qty for the product",
                    "default": 3,
                    "format": "int32"
                  },
                  "unit_cost": {
                    "type": "string",
                    "description": "Maximum amount $99,999.99",
                    "default": "10"
                  },
                  "taxable": {
                    "type": "string",
                    "description": "Add tax for the product (Yes, No)",
                    "default": "Yes"
                  },
                  "inventory": {
                    "type": "string",
                    "description": "Record and monitor the amount of products has available (Yes, No)",
                    "default": "Yes"
                  },
                  "is_active": {
                    "type": "string",
                    "description": "Is active should be set 0 or 1",
                    "default": "1"
                  },
                  "precedence": {
                    "type": "integer",
                    "description": "Precedence should be allowed only numeric value",
                    "default": 457,
                    "format": "int32"
                  },
                  "category": {
                    "type": "string",
                    "description": "Category must not exceed 40 alphanumeric characters.",
                    "default": "Fruites"
                  },
                  "group_name": {
                    "type": "string",
                    "description": "Group name should contain only alphabetic characters",
                    "default": "FOOD"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"error_no\": \"S00\",\n  \"mesg\": \"SUCCESS\",\n  \"msg\": \"SUCCESS\",\n  \"desc\": \"PRODUCT UPDATED SUCCESSFULLY\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error_no": {
                      "type": "string",
                      "example": "S00"
                    },
                    "mesg": {
                      "type": "string",
                      "example": "SUCCESS"
                    },
                    "msg": {
                      "type": "string",
                      "example": "SUCCESS"
                    },
                    "desc": {
                      "type": "string",
                      "example": "PRODUCT UPDATED SUCCESSFULLY"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"error_no\": \"G20\",\n  \"mesg\": \"PROCESSING ERROR\",\n  \"msg\": \"PROCESSING ERROR\",\n  \"desc\": \"PRODUCT ID DOES NOT EXIST\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error_no": {
                      "type": "string",
                      "example": "G20"
                    },
                    "mesg": {
                      "type": "string",
                      "example": "PROCESSING ERROR"
                    },
                    "msg": {
                      "type": "string",
                      "example": "PROCESSING ERROR"
                    },
                    "desc": {
                      "type": "string",
                      "example": "PRODUCT ID DOES NOT EXIST"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```