PUT /zip_code_lists/:id

Authorization Required
https://[your-subdomain].trackdrive.com/api/v1/zip_code_lists/:id

Update Zip Code List by id.

Rename or update the description of an existing zip code list.

Params

Param name Description
name
Optional Blank value allowed

Name

  • Must be a String

description
Optional Blank value allowed

Description

  • Must be a String

import_file
Optional Blank value allowed

A CSV file of zip codes to add to this list. Required when creating a list without zip_codes_text; uploading again on update adds more zip codes to the existing list.

  • Must be a valid file upload.

zip_codes_text
Optional Blank value allowed

Zip codes separated by commas, spaces or new lines, added to this list as an upload would add them. Entries that are not zip codes are skipped. Text over 1 MB is refused; upload longer lists as import_file.

  • Must be a String