Create/Update Abandoned Cart
Use this endpoint to create an abandoned cart.
Use this endpoint to create or update an abandoned cart in your Reportana store. The reference_id
attribute is required and must correspond to the id
or the unique identifier of the abandoned cart in your system, ensuring proper synchronization between your system’s data and our platform.
Headers
Basic base64(client_id + ’:’ + client_secret)
Content-Type:application/json
Body
Enter the reference ID.
Example: “123456789”.
Enter the reason for the abandoned cart.
Example: null
Available options: DECLINED_CREDIT_CARD
, null
.
Enter the abandoned cart number.
Example: “1234”.
Enter the admin panel URL for accessing the abandoned cart.
Example: “https://example.com/admin/carts/123456789”.
Enter the customer’s name.
Example: “John Doe”.
Enter the customer’s email.
Example: “johndoe@gmail.com”.
Enter the customer’s phone number.
Example: “+5511911111111”.
Billing Adress
Enter the billing address information.
Enter the customer’s name.
Example: “John Doe”.
Enter the customer’s first name.
Example: “John”.
Enter the customer’s last name.
Example: “Doe”.
Enter the company name.
Example: “John Doe Ltda”.
Enter the customer’s phone number.
Example: “+5511911111111”.
Enter the customer’s address.
Example: “6925 Hollywood Blvd”.
Enter the customer’s neighborhood.
Example: “Times Square”.
Enter the customer’s city.
Example: “New York”.
Enter the customer’s state.
Example: “North Carolina”.
Enter the customer’s state code.
Example: “NC”.
Enter the customer’s country.
Example: “United States of America”.
Enter the customer’s country code.
Example: “USA”.
Enter the customer’s ZIP code.
Example: “88508100”.
Enter the customer’s latitude.
Example: -50.3183162423294
Enter the customer’s longitude.
Example: -27.807915923881836
Shipping Adress
Enter the shipping address information.
Enter the customer’s name.
Example: “John Doe”.
Enter the customer’s first name.
Example: “John”.
Enter the customer’s last name.
Example: “Doe”.
Enter the company name.
Example: “John Doe Ltda”.
Enter the customer’s phone number.
Example: “+5511911111111”.
Enter the customer’s address.
Example: “6925 Hollywood Blvd”.
Enter the customer’s neighborhood.
Example: “Times Square”.
Enter the customer’s city.
Example: “New York”.
Enter the customer’s state.
Example: “North Carolina”.
Enter the customer’s state code.
Example: “NC”.
Enter the customer’s country.
Example: “United States of America”.
Enter the customer’s country code.
Example: “USA”.
Enter the customer’s ZIP code.
Example: “88508100”.
Enter the customer’s latitude.
Example: -27.807915923881836
Enter the customer’s longitude.
Example: -50.3183162423294
Line Items
Click “Add an item” to add a product.
Enter the product title.
Example: “Sunglasses”.
Enter the product variant title.
Example: “Black”.
Enter the quantity of products in the abandoned cart.
Example: 1
Enter the product price.
Example: 49.9
Enter the public URL of the product.
Example: “https://example.com/products/1234”.
Enter the image URL of the product.
Example: “https://example.com/products/1234/image.jpg”.
Checkout & More Info
Enter the currency of the abandoned cart.
Example: “USD”.
Enter the total value of the abandoned cart.
Example: 124.8
Enter the subtotal value of the abandoned cart.
Example: 109.8
Enter the URL of your website.
Example: “https://www.facebook.com/”.
Enter the URL for the checkout link.
Example: “https://example.com/carts/123456789”.
Enter the date when the cart was completed.
Example: “2022-05-31 23:59”.
Enter the creation date of the abandoned cart.
Exemplo: “2022-05-27 12:00”.