| Parameter | Type | Description |
|---|---|---|
| id | integer | Article ID |
| Key | Type | Description |
|---|---|---|
| title | string | |
| description | string | |
| status | enum: ['draft', 'published'] | |
| category_id | integer | Category ID |
| Key | Type | Description |
|---|---|---|
| article | Article | See: Article model |
| Status | Description |
|---|---|
404 | Article not found |
422 | Invalid parameters - see Invalid parameters errors model |
{
"article": {} // Article - see 'Article model'
}curl --location --request PUT 'https://api.mpc.dev.placewise.com/v1/operations/articles/1' \
--header 'X-User-Agent: ApiDog' \
--header 'X-Product-Name: default' \
--header 'X-Loyalty-Club-Slug: infinity-mall' \
--header 'X-Customer: 447' \
--header 'Authorization: Bearer ' \
--header 'X-Client-Authorization: ' \
--header 'Content-Type: application/json'{}