Modify stock/price for a product.

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://doc-seller.dipli.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Dipli - Seller API MCP server": {
    "url": "https://doc-seller.dipli.com/mcp"
  }
}

Close
PATCH /api/v2/products/{sku}

Headers

  • apikey string Required

Path parameters

  • sku string Required
application/json

Body Required

  • price integer

    Product price

  • stock integer

    Product stock

Responses

  • 200

    Product updated successfully

  • 400

    Request poorly formatted

PATCH /api/v2/products/{sku}
curl \
 --request PATCH 'https://bi.agora.place/api/v2/products/{sku}' \
 --header "Content-Type: application/json" \
 --header "apikey: string" \
 --data '{"price":42,"stock":42}'
Request examples
# Headers
apikey: string

# Payload
{
  "price": 42,
  "stock": 42
}