Batch update of product/variant availability

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
POST /availability

There is no need to update the whole product/variant data structure if only availability or status have changed.

Maximum size of batch is 1000 items.

Headers

  • X-Application-Name string

Query parameters

  • client_id string Required

    Client identifier

application/json

Body Required

  • id string
  • status string

    Values are A or N.

  • in_stock integer

Responses

  • 204

    The server successfully processed the request and is not returning any content.

POST /availability
curl \
 --request POST 'https://mpapi.proxy.omnicado.com/v1/availability?client_id=yourClientId&client_id=api_token_value' \
 --header "Content-Type: application/json" \
 --header "X-Application-Name: myApplicationName" \
 --data '[{"id":"233-45s","status":"A","in_stock":23}]'
Request examples
# Headers
X-Application-Name: myApplicationName

# Payload
[
  {
    "id": "233-45s",
    "status": "A",
    "in_stock": 23
  }
]