Edit packages
PATCH/packages/:package_id
Edit a packages
Request
Path Parameters
package_id stringrequired
Header Parameters
Content-Type stringrequired
Example: application/x-www-form-urlencoded
Accept stringrequired
Example: application/json
- application/x-www-form-urlencoded
Body
title stringrequired
Title of package
Example:
Title
description stringrequired
Description of package
Example:
Text
privacy stringrequired
Privacy of content (hidden, public, registered)
Example:
public
collection_ids[] stringrequired
Collections to attach at this package
Example:
43245
category_ids[] stringrequired
Categories to attach at this package
Example:
8856
date_order stringrequired
Date to order chronologically order collections
Example:
2024-09-12 13:00:00
seo_title stringrequired
Title for search engines
Example:
seo
seo_description stringrequired
Description for search engines
Example:
description
full_description stringrequired
Full description that allows html inside
Example:
full
Responses
- 200
- 401
- 404
Response Headers
- application/json
- Schema
- Example (from schema)
- 1
Schema
status stringrequired
id stringrequired
{
"status": "string",
"id": "string"
}
OK
{
"status": "<string>",
"id": "<string>"
}
Response Headers
- application/json
- Schema
- Example (from schema)
- 1
Schema
status stringrequired
{
"status": "string"
}
Unauthorized
{
"status": "<string>"
}
Response Headers
- application/json
- Schema
- Example (from schema)
- 1
Schema
status stringrequired
{
"status": "string"
}
Not Found
{
"status": "<string>"
}
Loading...