Baskets

get

This method returns details about a specific item in a shopping basket, including its ID, quantity, product reference, and version. It also includes information such as the associated basket ID, product ID, and any additional attributes (like tax rate, unit price, image, and extra product details), if available.

Authorizations
Query parameters
attributesany | nullableOptional

Query parameter attributes used to filter results based on specific conditions.

attributes_kwargsany | nullableOptional

Query parameter attributes_kwargs used to filter results based on specific conditions.

basketintegerOptional

Query parameter basket used to filter results based on specific conditions.

created_datestring · date-timeOptional

Query parameter created_date used to filter results based on specific conditions.

currency_typestringOptional

Query parameter currency_type used to filter results based on specific conditions.

datasourceintegerOptional

Query parameter datasource used to filter results based on specific conditions.

extra_product_priceintegerOptional

Query parameter extra_product_price used to filter results based on specific conditions.

extra_product_stockintegerOptional

Query parameter extra_product_stock used to filter results based on specific conditions.

idintegerOptional

Query parameter id used to filter results based on specific conditions.

id__gtintegerOptional

Filters records where id is greater than the given value.

id__gteintegerOptional

Filters records where id is greater than or equal to the given value.

id__ltintegerOptional

Filters records where id is less than the given value.

id__lteintegerOptional

Filters records where id is less than or equal to the given value.

imagestringOptional

Query parameter image used to filter results based on specific conditions.

limitintegerOptional

Limits the number of results returned in the response.

localized_attributesany | nullableOptional

Query parameter localized_attributes used to filter results based on specific conditions.

localized_attributes_kwargsany | nullableOptional

Query parameter localized_attributes_kwargs used to filter results based on specific conditions.

modified_datestring · date-timeOptional

Query parameter modified_date used to filter results based on specific conditions.

modified_date__gtstring · date-timeOptional

Filters records where modified_date is greater than the given value.

modified_date__gtestring · date-timeOptional

Filters records where modified_date is greater than or equal to the given value.

modified_date__ltstring · date-timeOptional

Filters records where modified_date is less than the given value.

modified_date__ltestring · date-timeOptional

Filters records where modified_date is less than or equal to the given value.

pageintegerOptional

Query parameter page used to filter results based on specific conditions.

parentintegerOptional

Query parameter parent used to filter results based on specific conditions.

productintegerOptional

Query parameter product used to filter results based on specific conditions.

quantityintegerOptional

Query parameter quantity used to filter results based on specific conditions.

referencestringOptional

Query parameter reference used to filter results based on specific conditions.

sortstringOptional

Query parameter sort used to filter results based on specific conditions.

tax_ratenumberOptional

Query parameter tax_rate used to filter results based on specific conditions.

unit_pricenumberOptional

Query parameter unit_price used to filter results based on specific conditions.

Responses
200
Successful response for status code 200.
application/json
get
GET /api/v1/remote/1/data-warehouse/baskets/basket-items/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
200

Successful response for status code 200.

{
  "count": 123,
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2",
  "results": [
    {
      "attributes": null,
      "attributes_kwargs": null,
      "basket": 1,
      "created_date": "2025-06-27T08:46:54.389Z",
      "currency_type": "try",
      "datasource": 1,
      "extra_product_price": 1,
      "extra_product_stock": 1,
      "id": 1,
      "image": "https://example.com",
      "localized_attributes": null,
      "localized_attributes_kwargs": null,
      "modified_date": "2025-06-27T08:46:54.389Z",
      "parent": 1,
      "product": 1,
      "quantity": 1,
      "reference": "text",
      "tax_rate": "text",
      "unit_price": "text",
      "version": 1
    }
  ]
}
get

This method returns details about a specific item in a shopping basket, including its ID, quantity, product reference, and version. It also includes information such as the associated basket ID, product ID, and any additional attributes (like tax rate, unit price, image, and extra product details), if available. This endpoint retrieves a specific record by its unique identifier.

Authorizations
Path parameters
idintegerRequired

A unique integer value identifying this basket item.

Responses
200
Successful response for status code 200.
application/json
get
GET /api/v1/remote/1/data-warehouse/baskets/basket-items/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "attributes": null,
  "attributes_kwargs": null,
  "basket": 1,
  "created_date": "2025-06-27T08:46:54.389Z",
  "currency_type": "try",
  "datasource": 1,
  "extra_product_price": 1,
  "extra_product_stock": 1,
  "id": 1,
  "image": "https://example.com",
  "localized_attributes": null,
  "localized_attributes_kwargs": null,
  "modified_date": "2025-06-27T08:46:54.389Z",
  "parent": 1,
  "product": 1,
  "quantity": 1,
  "reference": "text",
  "tax_rate": "text",
  "unit_price": "text",
  "version": 1
}
get

This method returns details about a specific shopping basket, including its ID, status, creation and modification timestamps, version, and associated voucher code. It also provides information about the user and any namespaces linked to the basket, if applicable.

Authorizations
Query parameters
created_datestring · date-timeOptional

Query parameter created_date used to filter results based on specific conditions.

idintegerOptional

Query parameter id used to filter results based on specific conditions.

id__gtintegerOptional

Filters records where id is greater than the given value.

id__gteintegerOptional

Filters records where id is greater than or equal to the given value.

id__ltintegerOptional

Filters records where id is less than the given value.

id__lteintegerOptional

Filters records where id is less than or equal to the given value.

limitintegerOptional

Limits the number of results returned in the response.

modified_datestring · date-timeOptional

Query parameter modified_date used to filter results based on specific conditions.

modified_date__gtstring · date-timeOptional

Filters records where modified_date is greater than the given value.

modified_date__gtestring · date-timeOptional

Filters records where modified_date is greater than or equal to the given value.

modified_date__ltstring · date-timeOptional

Filters records where modified_date is less than the given value.

modified_date__ltestring · date-timeOptional

Filters records where modified_date is less than or equal to the given value.

namespacestringOptional

Query parameter namespace used to filter results based on specific conditions.

pageintegerOptional

Query parameter page used to filter results based on specific conditions.

sortstringOptional

Query parameter sort used to filter results based on specific conditions.

statusstring · enumOptional

Query parameter status used to filter results based on specific conditions.

Possible values:
userintegerOptional

Query parameter user used to filter results based on specific conditions.

voucher_codestringOptional

Query parameter voucher_code used to filter results based on specific conditions.

Responses
200
Successful response for status code 200.
application/json
get
GET /api/v1/remote/1/data-warehouse/baskets/baskets/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
200

Successful response for status code 200.

{
  "count": 123,
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2",
  "results": [
    {
      "created_date": "2025-06-27T08:46:54.389Z",
      "id": 1,
      "modified_date": "2025-06-27T08:46:54.389Z",
      "namespace": "text",
      "status": "active",
      "user": 1,
      "version": 1,
      "voucher_code": "text"
    }
  ]
}
get

This method returns details about a specific shopping basket, including its ID, status, creation and modification timestamps, version, and associated voucher code. It also provides information about the user and any namespaces linked to the basket, if applicable. This endpoint retrieves a specific record by its unique identifier.

Authorizations
Path parameters
idintegerRequired

A unique integer value identifying this basket.

Responses
200
Successful response for status code 200.
application/json
get
GET /api/v1/remote/1/data-warehouse/baskets/baskets/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "created_date": "2025-06-27T08:46:54.389Z",
  "id": 1,
  "modified_date": "2025-06-27T08:46:54.389Z",
  "namespace": "text",
  "status": "active",
  "user": 1,
  "version": 1,
  "voucher_code": "text"
}

Was this helpful?