List the workspace's programmes
GET /programs
Every programme of the workspace, inactive ones included, the default first and then by handle. Secret keys and OAuth read tokens only: a publishable key is refused. Not cacheable. A program query parameter is ignored.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”The programmes.
object
Every programme of the workspace, the default first, then by handle. Inactive programmes are included. A workspace has at most 10.
object
The programme’s id. It never changes; pass it as program to act in this programme whatever its handle becomes.
The programme’s handle, unique within the workspace. Pass it as program.
Example
copperlineThe programme name the merchant chose. Null until the merchant sets one.
Example
Copperline ClubThe merchant’s display label for points in this programme; points until the merchant sets one. The same value GET /v1/rewards returns.
Example
pointsWhether the programme is the default or holds a sales-channel claim. Always true for a publishable key, which cannot see an inactive programme.
Whether this is the workspace’s default programme: the one an order with no claim routes to.
Missing or invalid API key or OAuth credential.
object
object
Example
not_foundExample
req_9f8e7d6c5b4a3210The credential lacks the loyalty:read scope — a publishable key (publishable_key_forbidden).
object
object
Example
not_foundExample
req_9f8e7d6c5b4a3210