Signal End of an Import

Last updated March 26, 2019

POST /extensions/ecomm/v2/imports/end

This endpoint is part of our developer preview program, and should be considered as a non-stable release that will be subject to bugs and breaking changes while under development. Please take this into account as you build against a release. Please subscribe to our changelog for updates.

Method Details

HTTP Methods:

POST

Content Type:

application/json

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

CRM

Required Scope:

e-commerce

Signal the end of an import for an objectType
Required Parameters How to use Description
OAuth Access Token or API Key Authorization: Bearer {token} header
or hapikey={key} query parameter.
Used to authenticate the request. Please see this page for more details about authentication.
importStartedAt   In request body JSON  Timestamp from the webhook when the customer requested imported in HubSpot UI
 pageCount In request body JSON  The total number of pages imported for this objectType
itemCount In request body JSON The total number of messages for this objecType
 storeId In request body JSON The key of the store for this import
objectType In request body JSON The HubSpot object this page of imports is for. Must be one of CONTACT, DEAL, LINE_ITEM or PRODUCT

Optional ParametersHow to useDescription
None None No optional parameters for this method.
If successful you will receive 204 No Content response.