Skip to main content

Get a single campaign by id

GET 

/campaigns/:id

Returns the single non-deleted campaign with the given stable Mocart campaign document id. Add ?showDeleted=true to read a deleted campaign too (the body then carries deletedAt). The strong ETag header on the plain read identifies the campaign state; send it back as If-Match on PATCH or DELETE.

Request​

Responses​

OK. The single campaign.

Response Headers
    ETag

    Strong hash of the campaign state, sent only on the plain representation (no ?showDeleted). Send it back as If-Match.