Offer Zipcode

Offer Zipcode - Bulk Add

Body: {"zipcode_ids": [12345, 67890, ...]} — up to 10,000 per request. Ignored duplicates (ON CONFLICT DO NOTHING). Response reports how many were NEWLY added vs already-present.

post/admin/v1/offers/{offer_id}/zipcodes

Request

  • Base URL: https://api.juju.com
  • URL: https://api.juju.com/admin/v1/offers/{offer_id}/zipcodes
  • Auth: none declared

Path parameters

offer_idinteger required

Request body

zipcode_idsinteger[]

Response

Bulk add applied.

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

{
  "errors": []
}

Changes

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