Update product availability Deprecated

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://mall-api-proxy.documentation.omnicado.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "omnicado-mall-proxy MCP server": {
    "url": "https://mall-api-proxy.documentation.omnicado.com/mcp"
  }
}

Close
PUT /products/{productId}/availability

Replaced by /availability batch endpoint.

Set availability and status of the product. Status can be A (available) and N (not available).

Headers

  • X-Application-Name string

Path parameters

  • productId string Required

    Partner's product identifier

Query parameters

  • client_id string Required

    Client identifier

application/json

Body Required

  • status string Required

    Status of availability

    Values are A or N.

  • in_stock integer Required

    Amount of items in stock

    Minimum value is 0, maximum value is 9999.

Responses

  • 200

    OK

PUT /products/{productId}/availability
curl \
 --request PUT 'https://mpapi.proxy.omnicado.com/v1/products/F192621/availability?client_id=yourClientId&client_id=api_token_value' \
 --header "Content-Type: application/json" \
 --header "X-Application-Name: myApplicationName" \
 --data '{"status":"A","in_stock":23}'
Request examples
# Headers
X-Application-Name: myApplicationName

# Payload
{
  "status": "A",
  "in_stock": 23
}