POST /zip_code_lists

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

Create Zip Code List.

Create a named zip code list. Populating it with zip codes is done by uploading an import file to the list separately.

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