Storefronts

Storefronts are also called stores and websites in the DPD admin.

List Storefronts

Returns a list of storefronts in your account:

GET /storefronts

Response:

[{"id":1,"name":"...",...},{"id":2,"name":"...",...}]

Get Storefront

Returns information about a single storefront:

GET /storefronts/:id

The response is a JSON hash with the following attributes:

  • id (integer) - Unique ID

  • created_at (UNIX timestamp) - When the storefront was created.

  • updated_at (UNIX timestamp) - When the storefront was last updated.

  • name (string) - Storefront name.

  • url (string) - Storefront URL.

  • contact_name (string) - Contact name.

  • contact_email (string) - Contact email.

  • currency (string) - Currency.

  • type (string) - Type of storefront. cart, subscription, or clickbank.

  • subdomain (string) - Subdomain (v2 storefronts only). Append to dpdcart.com to get the full domain.