{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","results":{"codes":[]},"settings":"","params":[]},"next":{"description":"","pages":[]},"title":"cart-params","type":"basic","slug":"cart-params","excerpt":"","body":"###Request\n[block:parameters]\n{\n \"data\": {\n \"h-0\": \"Property Name\",\n \"h-1\": \"Type\",\n \"h-2\": \"Required\",\n \"0-0\": \"`currency`\",\n \"0-1\": \"*string*\",\n \"h-3\": \"Description\",\n \"0-3\": \"Cart currency code (ISO 4217).\\nRefer to [Currency codes](/docs/currency-codes).\",\n \"0-2\": \"Optional\",\n \"1-0\": \"`ip`\",\n \"1-3\": \"Shopper's IP address.\",\n \"1-2\": \"Optional\",\n \"2-2\": \"Required if the using the reseller model <br />and the Avalara tax solution.\",\n \"5-2\": \"Optional\",\n \"6-2\": \"Optional\",\n \"1-1\": \"*string*\",\n \"2-1\": \"*string*\",\n \"6-1\": \"*long*\",\n \"5-1\": \"*string*\",\n \"2-0\": \"`country`\",\n \"5-0\": \"`state`\",\n \"6-0\": \"`store-id`\",\n \"2-3\": \"Shopper's country.\\nRefer to [Country codes](/docs/country-codes).\",\n \"5-3\": \"Shopper's state.\\nRefer to [State and province codes](/docs/state-and-province-codes).\",\n \"6-3\": \"ID of the store.\",\n \"7-0\": \"`zip`\",\n \"7-1\": \"*string*\",\n \"7-2\": \"Required if the using the reseller model <br />and the Avalara tax solution.\",\n \"7-3\": \"The shopper's zip code.\",\n \"3-0\": \"`address`\",\n \"4-0\": \"`city`\",\n \"3-1\": \"*string*\",\n \"4-1\": \"*string*\",\n \"4-2\": \"Optional\",\n \"3-2\": \"Optional\",\n \"3-3\": \"Shopper's address.\",\n \"4-3\": \"Shopper's city.\"\n },\n \"cols\": 4,\n \"rows\": 8\n}\n[/block]\n###Response\nN/A","updates":[],"order":15,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5e9763c23b9891030cfb342d","createdAt":"2020-04-15T19:42:58.477Z","user":"5beb1b96bc2003003ecd645e","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Resources","slug":"resources","order":8,"from_sync":false,"reference":false,"_id":"5c742637ad58c70033b9c6a1","version":"5c742637ad58c70033b9c762","project":"57336fd5a6a9c40e00e13a0b","createdAt":"2015-10-15T16:20:51.519Z","__v":0},"version":{"version":"8976-Extended","version_clean":"8976.0.0-Extended","codename":"Main","is_stable":false,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5c742637ad58c70033b9c699","5c742637ad58c70033b9c69a","5c742637ad58c70033b9c69b","5c742637ad58c70033b9c69c","5c742637ad58c70033b9c69d","5c742637ad58c70033b9c69e","5c742637ad58c70033b9c69f","5c742637ad58c70033b9c6a0","5c742637ad58c70033b9c6a1","5c742637ad58c70033b9c6a2","5c742637ad58c70033b9c6a3"],"_id":"5c742637ad58c70033b9c762","project":"57336fd5a6a9c40e00e13a0b","__v":0,"forked_from":"5bedbcf19b49e8004462d199","createdAt":"2018-04-24T15:33:45.744Z","releaseDate":"2018-04-24T15:33:45.744Z"},"project":"57336fd5a6a9c40e00e13a0b","__v":0,"parentDoc":null}
cart-params
Property Name
Type
Required
Description
ip
string
Optional
Shopper's IP address.
country
string
Required if the using the reseller model
and the Avalara tax solution.
Shopper's country.
Refer to Country codes.
address
string
Optional
Shopper's address.
city
string
Optional
Shopper's city.
store-id
long
Optional
ID of the store.
zip
string
Required if the using the reseller model
and the Avalara tax solution.
The shopper's zip code.