Update product (offer) lifecycle state
Rate limit: 100 requests / 10 seconds per shop. See Rate limiting.
Transitions the product between PUBLIC and HIDDEN. Use DELETE /products/{productId} to archive — ARCHIVED is not reachable here. The sold-out (available) flag is preserved; flip it via PUT /products/{productId}/availability. Idempotent: no-op if the product is already in the requested state.
Documentation Index
Fetch the complete documentation index at: https://docs.fourthwall.com/llms.txt
Use this file to discover all available pages before exploring further.
offer_writeAPI keys have full access to this endpoint.Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Body
Request to transition a product (offer) lifecycle state. Only PUBLIC and HIDDEN are reachable via this endpoint — use DELETE /products/{productId} to archive.
Target lifecycle state. PUBLIC makes the product visible on the storefront; HIDDEN keeps it unlisted. The sold-out (available) flag is preserved across the transition — use PUT /products/{productId}/availability to flip it.
PUBLIC, HIDDEN "PUBLIC"
Response
OK
"00aa4abd-5778-4199-8161-0b49b2f212e5"
"My t-shirt"
"my-t-shirt"
"My t-shirt description"
STANDARD, GIFT_CARD, UNKNOWN - Available
- Available
- Sold Out
- Archived
- Archived
- Archived
- Archived
- Private
- Public
"2020-08-13T09:05:36.939Z"
"2020-08-13T09:05:36.939Z"
Digital files attached to this offer. Only present for digital offers.