Offer List

Offer List - Add Offer

Body: offer_id* (required), weight (1..100, default 10), position (nullable). If the offer's active flag is false, this call ALSO flips it back to true — "re-adding to a list reinstates the offer" per the ops workflow. Duplicate membership returns 409.

post/admin/v1/offer-lists/{list_id}/offers

Request

  • Base URL: https://api.juju.com
  • URL: https://api.juju.com/admin/v1/offer-lists/{list_id}/offers
  • Auth: none declared

Path parameters

list_idinteger required

Response

Created member row.

metaobject required

Pagination and context metadata. Always present, empty object ({}) when no metadata applies to the response.

errorsstring[] required

Empty array on success. On failure, human-readable error strings suitable for surfacing to end users.

Example response

{
  "data": {
    "offer_payout": "12.50"
  },
  "errors": []
}

Changes

No recorded changes to this operation across all 1 revision of this API.