CorebanqCorebanq Developer Docs
Itemsv1

Update item

PUT/v1/items/{id}

Path Parameters

id*string

id path parameter

Header Parameters

Accept-Language?string

Language preference for the response

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PUT "https://example.com/v1/items/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "type": "product",
  "name": "premium-savings-account",
  "title": {
    "en": "Premium Savings Account",
    "de": "Premium-Sparkonto",
    "fr": "Compte d'épargne Premium",
    "it": "Conto di Risparmio Premium"
  },
  "description": {
    "en": "High-yield savings account with premium benefits",
    "de": "Hochverzinsliches Sparkonto mit Premium-Vorteilen",
    "fr": "Compte d'épargne à haut rendement avec avantages premium",
    "it": "Conto di risparmio ad alto rendimento con vantaggi premium"
  },
  "sort_order": 1,
  "active": true,
  "system": false,
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z"
}
{
  "error": {
    "code": "string",
    "message": "string"
  }
}