Shopper Profiles

Get All Shopper Profiles

GET /shopper-profiles

Request

Returns a paginated Shopper Profiles list.

Authentication

  • X-Auth-Token in header

Parameters

  • store_hash in path - string
  • Accept in header with default of application/json - string
    required
    The MIME type of the response body.
  • page in query - integer

    Page number.

  • limit in query - integer

    Items count per page.

example

Response

An array of Shopper Profiles objects and metadata.

Body

object | application/json

Response payload for the BigCommerce API.

  • data
    array[object]

  • meta
    object

    Data about the response including pagination, and collection totals.

example

Create Shopper Profiles

POST /shopper-profiles

Request

Creates a Shopper Profile.

Authentication

  • X-Auth-Token in header

Parameters

  • store_hash in path - string
  • Accept in header with default of application/json - string
    required
    The MIME type of the response body.
  • Content-Type in header with default of application/json - string
    required
    The MIME type of the request body.

Body

array | application/json

Request payload for the BigCommerce API.

  • customer_id
    number

    The ID of a registered Customer to associate with the new Shopper Profile.
    Example: 1

example

Response

An array of created Shopper Profiles.

Body

object | application/json

Response payload for the BigCommerce API.

  • data
    array[object]

  • meta
    object

example

Delete Shopper Profiles

DELETE /shopper-profiles

Request

Deletes one or more Shopper Profiles from a store.

Authentication

  • X-Auth-Token in header

Parameters

  • store_hash in path - string
  • Accept in header with default of application/json - string
    required
    The MIME type of the response body.
  • id:in in query - array

    Comma separated IDs.

    Type: array[string]

example

Response

An empty response.

Did you find what you were looking for?