UUpward API
v1
POST/api/public/v1/brand-kit/offerings/{id}/status
Requires x-auth-token

Publish, unpublish or archive

Change whether a product or service is live, by your id.

Send x-auth-token and x-auth-user (pagename or member external_id) as for Create or update.

Actions (company Brand Kit)

  • unpublish: hide it from every member and Bio page. Nothing is lost; publish brings it back with the same visibility.
  • publish: make an unpublished record live again.
  • archive: move it to the Brand Kit's deleted list (managers can still restore it).
  • restore: bring an archived record back.

In your own Products and Services list only archive and restore apply (use show_on_bio on Create or update to control your Bio page); publish and unpublish return a 422. Archiving an item of your own also takes it off your Bio / Profile page, and restoring it does not put it back: set show_on_bio again with Update. Restoring counts against your plan limit.

Calling an action that already holds returns 200 with changed: false.

Body fields

idstring (1–150)required

Your own stable id for the product or service, in the URL.

actionpublish | unpublish | archive | restorerequired

What to do.

add_to_my_products_servicesbooleanoptional

Owners and admins only: true works on your own Products and Services list instead of the company Brand Kit. Other members always use their own list, so for them it can be left out or true.

Responses

200OKThe record after the change.
{ "success": true, "changed": true, "offering": { "id": "course-101", "status": "unpublished", "published": false } }
401UnauthorizedMissing or invalid x-auth-token, or missing x-auth-user.
{ "success": false, "error": "Missing x-auth-user header" }
403Not a managerx-auth-user is not the company owner or an admin.
{ "success": false, "error": "x-auth-user must be the company owner or an admin to manage products and services." }
404Not foundNo record has that id, or no active member matches x-auth-user.
{ "success": false, "error": "No record has id "course-101"." }
422UnprocessableValidation failed.
{ "success": false, "error": "Validation failed", "issues": ["action: Invalid option"] }
POST/api/public/v1/brand-kit/offerings/course-101/status

Your own stable id for the product or service, in the URL.

ResponseNot sent yet