Skip to content

Commit

Permalink
Add documentation for adding custom metadata (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
dwilkie authored Oct 1, 2024
1 parent 13bf0fb commit f7469d7
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions public/website/docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -2164,6 +2164,15 @@ <h5>
<td>The name of a city or locality</td>
<td><code>Toronto</code></td>
</tr>
<tr>
<td>meta_*</td>
<td>Optional</td>
<td>Custom metadata. The column name must start with <code>meta_</code>. E.g.
<code>meta_my_custom_field</code>
</td>
<td>The value for the custom field: E.g. <code>My custom value</code></td>
<td><code>My custom value</code></td>
</tr>
<tr>
<td>marked_for_deletion</td>
<td>Optional</td>
Expand All @@ -2179,8 +2188,8 @@ <h6>
Sample CSV for creating phone numbers
</h6>

<pre class="line-numbers language-csv"><code>number,type,visibility,country,price,region,locality
+12505550199,local,public,CA,1.15,ON,Toronto</code></pre>
<pre class="line-numbers language-csv"><code>number,type,visibility,country,price,region,locality,meta_my_custom_field,meta_another_custom_field
+12505550199,local,public,CA,1.15,ON,Toronto,My custom value,Another custom value</code></pre>

<h6>
Sample CSV for deleting phone numbers
Expand Down

0 comments on commit f7469d7

Please sign in to comment.