REST Textpflege (EN)
API text maintenance
Publish subshops
Request
POST https://www.websale.de/api/tepf/publish
Content-Type
application/json
Authorization token
requires
Request-Body
Property | Type | Description |
---|---|---|
subshops | array | List of subshop IDs to be published. The array elements must be strings. Must be set. For a slave store, the store ID must also be specified |
Example Request-Body
In this example, the two subshops are published with the IDs "German" and "English".
Additionally, the subshop "German" is published by the dependent store "MeinShop".
{
"subshops": ["Deutsch", "English", "MeinShop/Deutsch"]
}
Response
If successful, the status code 200 is returned.
Possible errors
Status code | Meaning | Description |
---|---|---|
400 | Bad Request | Invalid content type or request body has an incorrect format. |
404 | Not Found | One of the passed subshop IDs does not exist for this store. |
403 | Forbidden | Missing permissions |