Fetching a basket list

Fetching a basket list

The article describes a method that returns a list of linked baskets, along with an example of how to implement the method in PHP.

Description of the method

Method that returns information about active baskets linked with the InPost Pay application. This method is not used in the process of linking and handling of baskets/orders by the customer.

For this method, we require the implementation of all the fields listed in the table, as they make up the entirety of the InPost Pay service. Some of the following fields in the 'Required' column are marked as 'O', i.e. optional, due to the fact that not all products/baskets in online stores have all parameters assigned, so a basket can be created and an order placed without them. However, the implementation/deployment of all fields is REQUIRED from a business perspective.

Parameters

Field name

Description

Type

Requirement status

Additional remarks

page_index

Page index

string

O

 

page_size

Page size

string

O

 

 

 

 

Request – none

Response

Field name

Description

Type

Requirement status

Additional remarks

page_size

Page size 

string

O

"page_size":1

total_items

Total number of items 

string

O

"total_items":159

page_index

Page index 

string

O

"page_index":1

baskets

Object that returns a list of active baskets in InPost Pay 

object

Y

 

baskets.basket_id

Unique basket identifier assigned by the merchant 

string

Y

 

baskets.creation_date

The date when the basket was created/linked to the InPost Pay app 

string($date-time)

O

"creation_date":"2023-09-14T08:55:34.777Z"

baskets.update_date

Date of last basket update 

string($date-time)

O

"update_date":"2023-09-14T09:05:26.190Z"

baskets.summary

Object used to provide basic details about the basket 

object

Y

 

baskets.summary.basket_base_price

Object used to pass the base price for the basket without delivery costs 

object

Y

 

baskets.summary.basket_base_price.net

Net price 

number ($decimal) (10,2)

Y

"summary":{"basket_base_price":{"net":"250.00","gross":"307.50","vat":"57.5

baskets.summary.basket_base_price.gross

Gross price (net + VAT) 

number ($decimal) (10,2)

Y

baskets.summary.basket_base_price.vat

VAT 

number ($decimal) (10,2)

Y

baskets.summary.basket_final_price

An object used to pass the final price of a basket with a promotion and discount code included on the basket, without delivery costs.
The value of the discount on the basket resulting from the application of the code (a promotional code that is not regulated by the OMNIBUS Directive), shown in the basket summary, will be the difference between promo_price and final_price or base_price and final_price, if the basket is not covered by a promotion.

object

O

 

baskets.summary.basket_final_price.net

Net price 

number ($decimal) (10,2)

Y

"basket_final_price":{"net":"220.00","gross":"270.60","vat":"50.60"}

baskets.summary.basket_final_price.gross

Gross price (net + VAT) 

number ($decimal) (10,2)

Y

baskets.summary.basket_final_price.vat

VAT 

number ($decimal) (10,2)

Y

baskets.summary.basket_promo_price

An object for passing the price of a basket with a promotion included for the basket, but without an applied discount code and without delivery costs.

object

O

 

baskets.summary.basket_promo_price.net

Net price 

number ($decimal) (10,2)

Y

"basket_promo_price":{"net":"220.00","gross":"270.60","vat":"50.60"}

baskets.summary.basket_promo_price.gross

Gross price (net + VAT) 

number ($decimal) (10,2)

Y

baskets.summary.basket_promo_price.vat

VAT 

number ($decimal) (10,2)

Y

baskets.summary.free_basket

Functionality using the object available in future versions of the application.

The flag indicating whether the basket without delivery costs is free.

boolean

O

 

baskets.summary.currency

Basket currency. The only currency currently supported is PLN 

string

Y

"currency":"PLN"

baskets.summary.basket_expiration_date

Basket expiration/validity date. This is the date after which the basket will be automatically removed from the InPost Pay app (will expire). The date cannot be a past date. 

string($date-time)

O

"basket_expiration_date":"2023-09-13T07:40:53.000Z"

baskets.summary.basket_additional_information

This field is used to provide additional information about the basket that, from the merchant's point of view, may be relevant to the customer 

string

O

"basket_additional_information": "Order today, and receive a discount code for future purchases"

baskets.summary.payment_type

A mandatory object defining the payment methods for the basket. The merchant passes payment_type as an empty list []. The customer is presented with the default list of payment methods in the application, based on the merchant's configuration in the payment gateway. The CASH_ON_DELIVERY option is additionally included if the delivery_code_value field in the delivery object is set to "COD".

array

Y

"payment_type":["CARD","CARD_TOKEN","APPLE_PAY","BLIK_CODE","BLIK_TOKEN","PAY_BY_LINK","SHOPPING_LIMIT","DEFERRED_PAYMENT","GOOGLE_PAY"],

baskets.summary.basket_notice

Object with additional information about the basket that the merchant wants to provide to the customer in the InPost Pay app 

object

O

 

baskets.summary.basket_notice.type

Type of information. There are two types of information based on which the application will present the appropriate format of the message Enum: [ ATTENTION, ERROR ]: 

ATTENTION – used when we want to inform the customer about important information on the basket, such as the application of a promotional code, the addition of a free product, etc. 

ERROR – used when some action on the basket failed, such as an invalid promo code or a failed attempt to add a suggested product. 

  

string

Y

"type":"ATTENTION"

baskets.summary.basket_notice.description

The contents of the message presented to the customer in the InPost Pay app for the relevant notice.type 

string

Y

"description": "the code has been activated"

baskets.summary.basket_additional_parameters

An object used to pass additional basket parameters that are saved in the basket details during basket creation/update. The Merchant can use this object, for example, to save parameters that will enable identification/association of the basket with a campaign. Additional parameters are not displayed in the application.

array

O

 

baskets.summary.basket_additional_parameters.key

Key

string

Y

 

baskets.summary.basket_additional_parameters.value

Value

string

Y

 

baskets.delivery

An object used to provide information about the preferred delivery options for the relevant basket 

array

Y

 

baskets.delivery.delivery_type

Delivery option. Enum:[ APM, COURIER, DIGITAL ].  

APM – automated parcel machine, COURIER – InPost courier service
DIGITAL – digital delivery

string

Y

"delivery_type":"APM"

baskets.delivery.delivery_date

Suggested delivery date 

string($date-time)

O

"delivery_date":"2023-09-14T12:00:00.000Z"

baskets.delivery.delivery_options

An object used for passing additional delivery options.  Currently, two additional delivery options are available: 

PWW – weekend parcel; 

COD – cash on delivery.  

If the CASH_ON_DELIVERY value is passed for the relevant basket in payment_type, it is mandatory to pass COD as an additional delivery option. 

 

  

O

 

baskets.delivery.delivery_options.delivery_name

Name of additional delivery option 

string

Y

"delivery_name": "Paczka w Weekend"

baskets.delivery.delivery_options.delivery_code_value

Additional delivery option code. Currently, there are two codes available: 

PWW – weekend parcel  

COD – cash on delivery 

 

string

Y

"delivery_code_value": "PWW"

baskets.delivery.delivery_options.delivery_option_price

An object used to provide information about the cost of additional delivery options 

object

Y

 

baskets.delivery.delivery_options.delivery_option_price.net

Net price 

number ($decimal) (10,2)

 

Y

"delivery_option_price ":{"net":"10.00","gross":"12.30","vat":"2.30"}

baskets.delivery.delivery_options.delivery_option_price.gorss

Gross price (net + VAT) 

number ($decimal) (10,2)

 

Y

 

baskets.delivery.delivery_options.delivery_option_price.vat

VAT 

number ($decimal) (10,2)

 

Y

 

baskets.delivery.delivery_price

An object used to provide information about the cost of delivery  

object

Y

 

baskets.delivery.delivery_price.net

Net price 

number ($decimal) (10,2)

 

Y

"delivery_price":{"net":"10.00","gross":"12.30","vat":"2.30"}

baskets.delivery.delivery_price.gross

Gross price (net + VAT) 

number ($decimal) (10,2)

 

Y

 

baskets.delivery.delivery_price.vat

VAT 

number ($decimal) (10,2)

 

Y

 

baskets.delivery.free_delivery_minimum_gross_price

Minimum basket value starting from which the cost of delivery will be PLN 0 

number ($decimal) (10,2)

 

O

"free_delivery_minimum_gross_price": "100.00"

baskets.promo_codes

List of promotional codes applied to the basket 

array

O

 

baskets.promo_codes.name

Code name (this field is not required in the next version of the application) 

string

Y

"name ": "Promotion 5%"

baskets.promo_codes.promo_code_value

Promo code 

string

Y

"promo_code_value": "INPOST10"

baskets.promo_codes.regulation_type

The type of regulation or restriction to which the promo code is subject.

NOTE: Where the promo code is a code within the meaning of the OMNIBUS Directive, then the “OMNIBUS” value should be passed.

string

O

"regulation_type": "OMNIBUS"

baskets.promotions_available

A list of available promo codes that customers can apply to the basket.

array

O

"promotions_available": [

    {

      "type": "MERCHANT",

      "promo_code_value": "IZI",

      "description": "Super promocja – 20 PLN ",

      "start_date": "2024-10-03T07:33:13.942Z",

      "end_date": "2024-11-03T07:33:13.942Z",

      "priority": 0,

      "details": {

        "link": " https://inpostpay.pl/ "

      }

    }

  ],

baskets.promotions_available.type

Code type:
Enum:[ MERCHANT, ONLY_IN_APP ]
 
MERCHANT – code available in the merchant's store and in InPost Pay (STORE CODE).

ONLY_IN_APP – code available only in the InPost Pay app (ONLY IN APP).

string 

Y

baskets.promotions_available.promo_code_value

Code value, e.g. DELIVERY

string 

Y

baskets.promotions_available.description

Code description

Max: 60 characters

string 

Y

baskets.promotions_available.start_date

Start date on which the promo code becomes effective

string($date-time)

O

baskets.promotions_available.end_date

End date on which the promo code becomes ineffective

string($date-time)

O

baskets.promotions_available.priority

Code priority
The priority is used to determine the order in which the codes are presented in the basket details (the highest priority has the lowest value).

integer

O

baskets.promotions_available.details

Promo code details

object

Y

baskets.promotions_available.details.link

Link to details of the promo code information in the merchant's store. 

string 

Y

baskets.products

List used to pass information about products in the basket 

array

Y

 

baskets.products.product_id

Product identifier assigned by the merchant 

string

Y

"product_id": 26

baskets.products.product_category

Product category assigned by the merchant 

string

O

"product_category":20

baskets.products.product_type

A non-mandatory field specifying the product type. Assumes value:

·       PRODUCT – physical product

·       DIGITAL  – digital product.

If the value is null, then by default the application assumes that the product is physical.

string

O

"product_type":"DIGITAL"

baskets.products.ean

Ean 

string

O

"ean":"0"

baskets.products.product_name

Product name  

string

Y

"product_name": "washpapa backpack"

baskets.products.product_description

Product description 

string

O

"product_description": "  \r\n\r\nSometimes you just want to leave everything, pack your bags and go to Bieszczady? It's a good plan for holidays. And during the year, simply discover your city again.\r\n\r\ Exploration cannot be successful without a reliable backpack with foldable closings and made of high quality materials, such as our.\r\n\r\nThe cotton straps ensure the convenience of carrying, and washpapa will express your devotion to the nature. Remember! Behind each adventure, there is a good backpack."

baskets.products.product_link

Product link on merchant's website 

string

O

"product_link":"https://test.outofthebox.pl/product/plecak-washpapa/"

baskets.products.product_image

Link to product photo. Preferred format: png, jpg (recommendation: png without background) 

 

string

O

"product_image":"https://test.outofthebox.pl/img/2022/10/INPOST_aranzacje-z-modelami25-1.jpg"

baskets.products.additional_product_images

An object used for providing additional product photos (list). The maximum number of photos is 10 (10 objects { "normal_size": "string", "small_size": "string" } )

object

O

-

baskets.products.additional_product_images. small_size

Product photo. Preferred size 360 x 352

string

Y

-

baskets.products.additional_product_images. normal_size

Product photo. Preferred size 360 x 504

string

Y

-

baskets.products.base_price

Base price of the product 

object

Y

 

baskets.products.base_price.net

Net price 

number ($decimal) (10,2)

 

Y

"base_price":{"net":"161.79","gross":"199.00","vat":"37.21"}

baskets.products.base_price.gross

Gross price (net + VAT) 

number ($decimal) (10,2)

 

Y

baskets.products.base_price.vat

VAT 

number ($decimal) (10,2)

 

Y

baskets.products.promo_price

Promotional price of the product 

object

O

 

baskets.products.promo_price.net

Net price 

number ($decimal) (10,2)

 

Y

"promo_price":{"net":"160.98","gross":"198.00","vat":"37.02"}

baskets.products.promo_price.gorss

Gross price (net + VAT) 

number ($decimal) (10,2)

 

Y

baskets.products.promo_price.vat

VAT 

number ($decimal) (10,2)

 

Y

baskets.products.lowest_price

An object used to pass the lowest price of the product over the last 30 days. Required for compliance with the Omnibus Directive. It is mandatory to pass the object, if the promotional price of the product was passed (promo_price object) and the promo code with "regulation_type": "OMNIBUS" was passed.

object

O

 

baskets.products.lowest_price.net

Net price 

number ($decimal) (10,2)

 

Y

"lowest_price ":{"net":"160.98","gross":"198.00","vat":"37.02"}

baskets.products.lowest_price.gorss

Gross price (net + VAT) 

number ($decimal) (10,2)

 

Y

baskets.products.lowest_price.vat

VAT 

number ($decimal) (10,2)

 

Y

baskets.products.quantity

An object used to pass information about the quantity of the product 

object

Y

 

baskets.products.quantity.quantity

Product quantity 

number ($decimal)

 

Y

"quantity":1

baskets.products.quantity.quantity_type

Quantity type. Available values: [ DECIMAL, INTEGER ]. 

 

string

Y

"quantity_type":"INTEGER"

baskets.products.quantity.quantity_unit

Product quantity unit 

string

O

"quantity_unit":"pcs"

baskets.products.quantity.available_quantity

Quantity of available product in the store 

number ($decimal)

 

O

"available_quantity":26

baskets.products.quantity.min_quantity 

The minimum quantity of a product that a customer can order, e.g. in a single order 

number ($decimal) 

 

O 

"min_quantity": 2

baskets.products.quantity.max_quantity

The maximum quantity of a product that a customer can order, e.g. in a single order 

number ($decimal)

 

O

"max_quantity":26

baskets.products.quantity.quantity_jump

Quantity jump value when the customer increases/decreases the quantity of the product (e.g. 0.1 or 0.5 or 0.01)

number ($decimal)    

O

"quantity_jump": 0.5

baskets.products.product_attributes

An object used to specify product attributes 

array

O

 

baskets.products.product_attributes.attribute_name

Attribute name 

string

Y

"product_attributes ": [{ "attribute_name ": "Dimensions/Capacity", "attribute_value ":"54 cm x 38 cm x 10 cm "}, { "attribute_name ": "Material", "attribute_value": "Washable paper standard + kodura + woven cotton straps"}]

baskets.products.product_attributes.attribute_value

Attribute value 

string

Y

 

baskets.products.delivery_product

An object used to pass information about the available delivery options for a product. If there is no delivery_product object, it means that all delivery options are available

array

O

 

baskets.products.delivery_product.delivery_type

Delivery option. Enum:[ APM, COURIER, DIGITAL ].  

APM – automated parcel machine, COURIER – InPost courier service
DIGITAL – digital delivery

string

O

 

baskets.products.delivery_product.if_delivery_available

Flag indicating whether the type of delivery is available

string

O

 

baskets.related_products

An object used to pass a list of suggested products for the relevant basket, which the customer can add from the InPost Pay application 

array

O

 

baskets.related_products.product_id

Product identifier assigned by the merchant 

string

Y

"product_id": 26

baskets.related_products.product_category

Product category assigned by the merchant 

string

O

"product_category":20

baskets.related_products.products.product_type

A non-mandatory field specifying the product type. Assumes value:

·       PRODUCT – physical product

·       DIGITAL  – digital product.

If the value is null, then by default the application assumes that the product is physical.

string

O

"product_type":"DIGITAL"

baskets.related_products.ean

Ean 

string

O

"ean":"0"

baskets.related_products.product_name

Product name  

string

Y

"product_name": "washpapa backpack"

baskets.related_products.product_description

Product description 

string

O

"product_description": "  \r\n\r\nSometimes you just want to leave everything, pack your bags and go to Bieszczady? It's a good plan for holidays. And during the year, simply discover your city again.\r\n\r\ Exploration cannot be successful without a reliable backpack with foldable closings and made of high quality materials, such as our.\r\n\r\nThe cotton straps ensure the convenience of carrying, and washpapa will express your devotion to the nature. Remember! Behind each adventure, there is a good backpack."

baskets.related_products.product_link

Product link on merchant's website 

string

O

"product_link":"https://test.outofthebox.pl/product/plecak-washpapa/"

baskets.related_products.product_image

URL to the product photo. Preferred format: png, jpg (recommendation: png without background) 

string

  

"product_image":"https://test.outofthebox.pl/img/2022/10/INPOST_aranzacje-z-modelami25-1.jpg"

baskets.related_products.additional_product_images

An object used for providing additional product photos (list). The maximum number of photos is 10 (10 objects { "normal_size": "string", "small_size": "string" } )

object

O

-

baskets.related_products.additional_product_images. small_size

product photo. Preferred size 360 x 352

string

Y

-

baskets.related_products.additional_product_images. normal_size

product photo. Preferred size 360 x 504

string

Y

-

baskets.related_products.base_price

Base price of the product 

object

Y

 

baskets.related_products.base_price.net

Net price 

number ($decimal) (10,2)

Y

"base_price":{"net":"161.79","gross":"199.00","vat":"37.21"}

baskets.related_products.base_price.gross

Gross price (net + VAT) 

number ($decimal) (10,2)

Y

baskets.related_products.base_price.vat

VAT 

number ($decimal) (10,2)

Y

baskets.related_products.promo_price

Promotional price of the product 

object

O

 

baskets.related_products.promo_price.net

Net price 

number ($decimal) (10,2)

Y

"promo_price":{"net":"160.98","gross":"198.00","vat":"37.02"}

baskets.related_products.promo_price.gross

Gross price (net + VAT) 

number ($decimal) (10,2)

Y

baskets.related_products.promo_price.vat

VAT 

number ($decimal) (10,2)

Y

baskets.related_products.lowest_price

An object used to pass the lowest price of the product over the last 30 days. Required for compliance with the Omnibus Directive. It is mandatory to pass the object, if the promotional price of the product was passed (promo_price object) and the promo code with "regulation_type": "OMNIBUS" was passed.

object

O

 

baskets.related_products.lowest_price.net

Net price 

number ($decimal) (10,2)

Y

"lowest_price ":{"net":"160.98","gross":"198.00","vat":"37.02"}

baskets.related_products.lowest_price.gorss

Gross price (net + VAT) 

number ($decimal) (10,2)

Y

baskets.related_products.lowest_price.vat

VAT 

number ($decimal) (10,2)

Y

baskets.related_products.quantity

An object used to pass information about the quantity of the product 

object

Y

 

baskets.related_products.quantity.quantity

Product quantity 

number ($decimal)

 

Y

"quantity":1

baskets.related_products.quantity.quantity_type

Quantity type. Available values: [ DECIMAL, INTEGER ]. 

 

string

Y

"quantity_type":"INTEGER"

baskets.related_products.quantity.quantity_unit

Product quantity unit 

string

O

"quantity_unit":"pcs"

baskets.related_products.quantity.available_quantity

Quantity of available product in the store 

number ($decimal)

O

"available_quantity":26

baskets.related_products.quantity.min_quantity 

The minimum quantity of a product that a customer can order, e.g. in a single order 

number ($decimal) 

O 

"min_quantity":2 

baskets.related_products.quantity.max_quantity

The maximum quantity of a product that a customer can order, e.g. in a single order 

number ($decimal)

O

"max_quantity":26

baskets.related_products.quantity.quantity_jump

Quantity jump value when the customer increases/decreases the quantity of the product (e.g. 0.1 or 0.5 or 0.01)

number ($decimal)    

O

"quantity_jump": 0.5

baskets.related_products.product_attributes

An object used to specify product attributes 

array

O

 

baskets.related_products.product_attributes.attribute_name

Attribute name 

string

Y

"product_attributes ": [{ "attribute_name ": "Dimensions/Capacity", "attribute_value ":"54 cm x 38 cm x 10 cm "}, { "attribute_name ": "Material", "attribute_value": "Washable paper standard + kodura + woven cotton straps"}]

baskets.related_products.product_attributes.attribute_value

Attribute value 

string

Y

baskets.related_products.delivery_related_products

An object used to pass information about the available delivery options for a product. If there is no delivery_product object, it means that all delivery options are available

array

O

 

baskets.related_products.delivery_related_products.delivery_type

Delivery option. Enum:[ APM, COURIER, DIGITAL ].  

APM – automated parcel machine, COURIER – InPost courier service
DIGITAL – digital delivery

string

O

 

baskets.related_products.delivery_related_products.if_delivery_available

Flag indicating whether the type of delivery is available

boolean

O

 

related_products.delivery_related_products.if_delivery_free

A flag indicating whether the customer will have free delivery when the suggested product is added to the basket. Where if_delivery_free=true applies to the relevant suggested product, the customer will be presented with an appropriate message on that product.

boolean

O

 

baskets.consents

An object used to pass a list of consents for the relevant basket 

array

 Y

 

baskets.consents.consent_id

Consent ID assigned by the merchant 

string

 Y

"consent_id":3

baskets.consents.label_link

A link redirecting to the full wording of the consent, e.g. to the merchant’s website 

string

O

"label_link": "Regulaminu",

baskets.consents.additional_consent_links

Label for the link passed in consent_link, no more than 500 characters 

object

O

 

baskets.consents.additional_consent_links.id

An object used to pass an additional link to the consent/regulations

string

O

"id": "0"

baskets.consents.additional_consent_links.consent_link

Consent ID assigned by the merchant

string

O

"consent_link": "https://uat.outofthebox.pl/privacy-policy/",

baskets.consents.additional_consent_links.label_link

A link redirecting to the full wording of the consent, e.g. to the merchant’s website

string

O

"label_link": "Polityką prywatności"

baskets.consents.consent_link

Label for the link passed in consent_link, no more than 500 characters 

string

 Y

"consent_link":"https://test.outofthebox.pl/zwroty-i-reklamacje/"

baskets.consents.consent_description

A description of the consent, not more than 500 characters 

string

 Y

"consent_description": "zwroty i reklamacje"

baskets.consents.consent_version

Consent version 

string

 Y

"consent_version":1

baskets.consents.requirement_type

Consent type. Available values: Enum: [OPTIONAL, REQUIRED_ONCE, REQUIRED_ALWAYS ] 

OPTIONAL – Optional consent  

REQUIRED_ONCE – required once. This type and version of the consent will be saved on the user's profile with the information that the customer has given consent, and it will be checked by default for subsequent baskets. 

REQUIRED_ALWAYS – required always. This type and version of the consent is not saved on the user's profile. The customer must give consent every time. 

string

 Y

"requirement_type":"OPTIONAL"


 

 

GET /v1/izi/baskets

Example response

{ "baskets": [ { "basket_id": "3456789", "creation_date": "2023-11-15T07:42:57.218Z", "update_date": "2023-11-15T07:42:57.213Z", "summary": { "basket_base_price": { "net": 13.98, "gross": 17.2, "vat": 3.22 }, "basket_final_price": { "net": 13.98, "gross": 17.2, "vat": 3.22 }, "currency": "PLN", "basket_expiration_date": "2023-11-19T23:00:00.000Z", "payment_type": [ "CARD", "CARD_TOKEN", "GOOGLE_PAY", "APPLE_PAY", "BLIK_CODE", "BLIK_TOKEN", "PAY_BY_LINK" ] }, "delivery": [ { "delivery_type": "APM", "delivery_date": "2023-11-17T11:00:00.000Z", "delivery_price": { "net": 10.56, "gross": 12.99, "vat": 2.43 } }, { "delivery_type": "COURIER", "delivery_date": "2023-11-17T11:00:00.000Z", "delivery_price": { "net": 10.56, "gross": 12.99, "vat": 2.43 } } ], "products": [ { "product_id": "34567", "ean": "678905432", "product_name": "Cymbałki", "product_description": "Dzwonki/cymbałki szkolne 12 tonowe z 2 pałeczkami w zestawie.", "product_link": "https://p/cymbalki-dzwonki-szkolne-34567/", "product_image": "https://o/cymbalki-dzwonki-szkolne34567.jpg", "base_price": { "net": 13.98, "gross": 17.2, "vat": 3.22 }, "quantity": { "quantity": 1, "quantity_type": "INTEGER", "quantity_unit": "sztuka", "available_quantity": 92, "max_quantity": 92 } } ], "related_products": [ { "product_id": "999", "product_name": "Street Fire Mercedes-Benz", "product_link": "https://p/street-fire-mercedes-benz-143/", "product_image": "https://o/street-fire-mercedes-benz-143.jpg", "base_price": { "net": 59.53, "gross": 73.22, "vat": 13.69 }, "quantity": { "quantity": 1, "quantity_type": "INTEGER", "quantity_unit": "sztuka", "available_quantity": 2, "max_quantity": 2 } }, { "product_id": "7643", "product_name": "Golf", "product_link": "https://p/golf-mk1-7643/", "product_image": "https://o/golf-mk1-7643.jpg", "base_price": { "net": 54.1, "gross": 66.54, "vat": 12.44 }, "quantity": { "quantity": 1, "quantity_type": "INTEGER", "quantity_unit": "sztuka", "available_quantity": 9, "max_quantity": 9 } }, { "product_id": "768", "product_name": "Lamborghini yellow", "product_link": "https://p/lamborghini-yellow-118/", "product_image": "https://o/lamborghini-yellow-118.jpg", "base_price": { "net": 116.45, "gross": 143.23, "vat": 26.78 }, "quantity": { "quantity": 1, "quantity_type": "INTEGER", "quantity_unit": "sztuka", "available_quantity": 4, "max_quantity": 4 } }, { "product_id": "324", "product_name": "Figurka Gołąb", "product_link": "https://p/golab-a-324/", "product_image": "https://o/golab-a-324.jpg", "base_price": { "net": 22.37, "gross": 27.52, "vat": 5.15 }, "quantity": { "quantity": 1, "quantity_type": "INTEGER", "quantity_unit": "sztuka", "available_quantity": 19, "max_quantity": 19 } }, { "product_id": "543", "product_name": "Zestaw naczyń", "product_link": "https://p/zestaw-naczyn-543/", "product_image": "https://o/zestaw-naczyn-543.jpg", "base_price": { "net": 22.08, "gross": 27.16, "vat": 5.08 }, "quantity": { "quantity": 1, "quantity_type": "INTEGER", "quantity_unit": "sztuka", "available_quantity": 3, "max_quantity": 3 } }, { "product_id": "678", "product_name": "Alfa Romeo", "product_link": "https://p/alfa-romeo-green-678/", "product_image": "https://o/alfa-romeo-green-678.jpg", "base_price": { "net": 43.61, "gross": 53.64, "vat": 10.03 }, "quantity": { "quantity": 1, "quantity_type": "INTEGER", "quantity_unit": "sztuka", "available_quantity": 5, "max_quantity": 5 } }, { "product_id": "111", "product_name": "Lamborghini white ", "product_link": "https://p/lamborghini-white-111/", "product_image": "https://o/lamborghini-white-111.jpg", "base_price": { "net": 136.02, "gross": 167.3, "vat": 31.28 }, "quantity": { "quantity": 1, "quantity_type": "INTEGER", "quantity_unit": "sztuka", "available_quantity": 5, "max_quantity": 5 } }, { "product_id": "909", "product_name": "Porsche green", "product_link": "https://p/porsche-909/", "product_image": "https://o/porsche-909.jpg", "base_price": { "net": 49.31, "gross": 60.65, "vat": 11.34 }, "quantity": { "quantity": 1, "quantity_type": "INTEGER", "quantity_unit": "sztuka", "available_quantity": 2, "max_quantity": 1 } } ], "consents": [ { "consent_id": "11", "consent_link": "https://regulamin/newsletter/", "consent_description": "Regulamin usługi Newsletter", "consent_version": "45677", "requirement_type": "OPTIONAL" }, { "consent_id": "12", "consent_link": "https://regulamin/klienci2023/", "consent_description": "Informacja o przetwarzaniu danych osobowych", "consent_version": "4567", "requirement_type": "REQUIRED_ALWAYS" }, { "consent_id": "13", "consent_link": "https://regulamin/regulamin-2023/", "consent_description": "Regulamin zakupów w sklepie internetowym", "consent_version": "6543", "requirement_type": "REQUIRED_ALWAYS" } ] }, { "basket_id": "111111", "creation_date": "2023-11-15T00:21:18.372Z", "update_date": "2023-11-15T00:21:18.368Z", "summary": { "basket_base_price": { "net": 48.7, "gross": 51.14, "vat": 2.44 }, "basket_final_price": { "net": 48.7, "gross": 51.14, "vat": 2.44 }, "currency": "PLN", "basket_expiration_date": "2023-11-19T23:00:00.000Z", "payment_type": [ "CARD", "CARD_TOKEN", "GOOGLE_PAY", "APPLE_PAY", "BLIK_CODE", "BLIK_TOKEN", "PAY_BY_LINK" ] }, "delivery": [ { "delivery_type": "APM", "delivery_date": "2023-11-17T11:00:00.000Z", "delivery_price": { "net": 10.56, "gross": 12.99, "vat": 2.43 } }, { "delivery_type": "COURIER", "delivery_date": "2023-11-17T11:00:00.000Z", "delivery_price": { "net": 10.56, "gross": 12.99, "vat": 2.43 } } ], "products": [ { "product_id": "34556", "ean": "01234567890", "product_name": "Czwarte skrzydło", "product_description": "Opis produktu", "product_link": "https://b/czwarte-skrzydlo-3456/", "product_image": "https://o/czwarte-skrzydlo-3456.jpg", "base_price": { "net": 48.7, "gross": 51.14, "vat": 2.44 }, "quantity": { "quantity": 1, "quantity_type": "INTEGER", "quantity_unit": "sztuka", "available_quantity": 100, "max_quantity": 100 } } ], "related_products": [ { "product_id": "8765", "product_name": "Czegoś tu brakuje...", "product_link": "https://b/czegos-tu-brakuje-8765/", "product_image": "https://o/czegos-tu-brakuje-8765.jpg", "base_price": { "net": 29.93, "gross": 31.43, "vat": 1.5 }, "quantity": { "quantity": 1, "quantity_type": "INTEGER", "quantity_unit": "sztuka", "available_quantity": 16, "max_quantity": 16 } }, { "product_id": "7777", "product_name": "Opowiadania", "product_link": "https://b/opowiadania-7777/", "product_image": "https://o/opowiadania-7777.jpg", "base_price": { "net": 16.08, "gross": 16.88, "vat": 0.8 }, "quantity": { "quantity": 1, "quantity_type": "INTEGER", "quantity_unit": "sztuka", "available_quantity": 100, "max_quantity": 100 } }, { "product_id": "9878", "product_name": "Bajki", "product_link": "https://b/bajki-tw-9878/", "product_image": "https://o/bajki-tw-9878.jpg", "base_price": { "net": 36.77, "gross": 38.61, "vat": 1.84 }, "quantity": { "quantity": 1, "quantity_type": "INTEGER", "quantity_unit": "sztuka", "available_quantity": 9, "max_quantity": 9 } }, { "product_id": "6543", "product_name": "Baśnie", "product_link": "https://b/basnie-tw-6543/", "product_image": "https://o/basnie-tw-6543.jpg", "base_price": { "net": 18, "gross": 18.9, "vat": 0.9 }, "quantity": { "quantity": 1, "quantity_type": "INTEGER", "quantity_unit": "sztuka", "available_quantity": 87, "max_quantity": 87 } }, { "product_id": "87654", "product_name": "Nowy tytuł", "product_link": "https://b/nowy-tytul-87654/", "product_image": "https://o/nowy-tytul-87654.jpg", "base_price": { "net": 46.22, "gross": 48.53, "vat": 2.31 }, "quantity": { "quantity": 1, "quantity_type": "INTEGER", "quantity_unit": "sztuka", "available_quantity": 2, "max_quantity": 2 } }, { "product_id": "7654", "product_name": "Poradnik", "product_link": "https://b/poradnik-7654/", "product_image": "https://o/poradnik-7654.jpg", "base_price": { "net": 46.09, "gross": 48.39, "vat": 2.3 }, "quantity": { "quantity": 1, "quantity_type": "INTEGER", "quantity_unit": "sztuka", "available_quantity": 100, "max_quantity": 100 } }, { "product_id": "45678", "product_name": "Zadania", "product_link": "https://b/zadania-45678/", "product_image": "https://o/zadania-45678.jpg", "base_price": { "net": 26.67, "gross": 28, "vat": 1.33 }, "quantity": { "quantity": 1, "quantity_type": "INTEGER", "quantity_unit": "sztuka", "available_quantity": 8, "max_quantity": 8 } }, { "product_id": "45670", "product_name": "Codziennik", "product_link": "https://b/codziennik-45670/", "product_image": "https://codziennik-45670.jpg", "base_price": { "net": 18.52, "gross": 19.45, "vat": 0.93 }, "quantity": { "quantity": 1, "quantity_type": "INTEGER", "quantity_unit": "sztuka", "available_quantity": 2, "max_quantity": 1 } } ], "consents": [ { "consent_id": "120", "consent_link": "https://regulamin/newsletter/", "consent_description": "Regulamin usługi Newsletter", "consent_version": "3456", "requirement_type": "OPTIONAL" }, { "consent_id": "121", "consent_link": "https://regulamin/klienci2023/", "consent_description": "Informacja o przetwarzaniu danych osobowych", "consent_version": "123456", "requirement_type": "REQUIRED_ALWAYS" }, { "consent_id": "123", "consent_link": "https://regulamin/regulamin-2023/", "consent_description": "Regulamin zakupów w sklepie internetowym", "consent_version": "34567", "requirement_type": "REQUIRED_ALWAYS" } ] }, ], "page_size": 100, "total_items": 2, "page_index": 0 }