Products

Update products.

put/products/{id}

Request

Path parameters

idstring required

Headers

Authorizationstring required

เลข Id Product

Request body

OR
OR
OR

Example request

{
  "code": "P001",
  "name": "Product"
}

Response

200 response

statusboolean

action success

messagestring

error message

codeinteger

error code

Example response

{
  "data": {
    "list": [
      {
        "code": "P001",
        "name": "Product",
        "inventoryPublishedOn": "2021-01-01"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.