# Data Source

Seller and data source information

## Retrieve data source (seller) detail

> Returns detailed information about a specific data source (seller/merchant).\
> \
> \*\*Data Sources:\*\*\
> In marketplace scenarios, data sources represent different sellers or merchants offering products. This endpoint provides seller information including:\
> \* Business contact details\
> \* Legal information (MERSIS, KEP)\
> \* Additional seller-specific data

```json
{"openapi":"3.1.0","info":{"title":"Product API - Product Catalog & Detail Information","version":"1.0.0"},"tags":[{"name":"Data Source","description":"Seller and data source information"}],"servers":[{"description":"Commerce API Server","url":"https://{commerce_url}","variables":{"commerce_url":{"default":"sandbox.akinon.com","description":"Commerce server URL (e.g., your-store.akinon.com)"}}}],"paths":{"/datasources/{pk}/":{"get":{"tags":["Data Source"],"operationId":"getDataSourceDetail","summary":"Retrieve data source (seller) detail","description":"Returns detailed information about a specific data source (seller/merchant).\n\n**Data Sources:**\nIn marketplace scenarios, data sources represent different sellers or merchants offering products. This endpoint provides seller information including:\n* Business contact details\n* Legal information (MERSIS, KEP)\n* Additional seller-specific data","parameters":[{"name":"pk","in":"path","required":true,"description":"Unique identifier of the data source.","schema":{"type":"integer"}}],"responses":{"200":{"description":"Data source detail retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataSourceDetail"}}}},"404":{"description":"Data source not found"}}}}},"components":{"schemas":{"DataSourceDetail":{"type":"object","description":"Detailed seller/data source information.","properties":{"pk":{"type":"integer","description":"Data source identifier"},"name":{"type":"string","description":"Internal name of the data source."},"title":{"type":"string","description":"Display title of the seller."},"address":{"type":"string","description":"Business address of the seller."},"email":{"type":"string","format":"email","description":"Contact email address."},"phone_number":{"type":"string","description":"Contact phone number."},"fax_number":{"type":["string","null"],"description":"Fax number (if available)."},"kep_address":{"type":["string","null"],"description":"Registered Electronic Mail (KEP) address.\n\nRequired for official business correspondence in Turkey."},"mersis_number":{"type":["string","null"],"description":"Central Registration System (MERSIS) number.\n\nUnique business registration number in Turkey."},"extras":{"type":"object","description":"Additional seller-specific data.\n\nMay include custom fields, certifications, ratings, etc.","additionalProperties":true}}}}}}
```

## Retrieve sellers offering a product

> Returns all sellers (data sources) that offer a specific product, including their prices and stock levels.\
> \
> \*\*Marketplace Support:\*\*\
> For marketplace storefronts with multiple sellers, this endpoint provides:\
> \* All sellers offering the product\
> \* Seller-specific pricing\
> \* Seller-specific stock availability\
> \* Seller details for comparison\
> \
> \*\*Response:\*\*\
> Returns an array of seller offers, each containing:\
> \* Seller information (contact, business details)\
> \* Price data (price, retail price, currency)\
> \* Stock information (quantity, availability)

```json
{"openapi":"3.1.0","info":{"title":"Product API - Product Catalog & Detail Information","version":"1.0.0"},"tags":[{"name":"Data Source","description":"Seller and data source information"}],"servers":[{"description":"Commerce API Server","url":"https://{commerce_url}","variables":{"commerce_url":{"default":"sandbox.akinon.com","description":"Commerce server URL (e.g., your-store.akinon.com)"}}}],"paths":{"/product/{pk}/datasources/":{"get":{"tags":["Data Source"],"operationId":"getProductDataSources","summary":"Retrieve sellers offering a product","description":"Returns all sellers (data sources) that offer a specific product, including their prices and stock levels.\n\n**Marketplace Support:**\nFor marketplace storefronts with multiple sellers, this endpoint provides:\n* All sellers offering the product\n* Seller-specific pricing\n* Seller-specific stock availability\n* Seller details for comparison\n\n**Response:**\nReturns an array of seller offers, each containing:\n* Seller information (contact, business details)\n* Price data (price, retail price, currency)\n* Stock information (quantity, availability)","parameters":[{"name":"pk","in":"path","required":true,"description":"Unique identifier of the product.","schema":{"type":"integer"}}],"responses":{"200":{"description":"Product sellers retrieved successfully","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SellerOffer"}}}}},"404":{"description":"Product not found"}}}}},"components":{"schemas":{"SellerOffer":{"type":"object","description":"Seller's offer for a product including price and stock.","properties":{"datasource":{"$ref":"#/components/schemas/DataSourceFull"},"stock":{"$ref":"#/components/schemas/SellerStock"},"price":{"$ref":"#/components/schemas/SellerPrice"}}},"DataSourceFull":{"type":"object","description":"Complete seller/data source information.","properties":{"pk":{"type":"integer","description":"Data source identifier"},"name":{"type":"string","description":"Internal name"},"slug":{"type":["string","null"],"description":"URL-friendly identifier"},"title":{"type":"string","description":"Display title"},"supplier_code":{"type":["string","null"],"description":"Supplier code for integration purposes."},"address":{"type":"string","description":"Business address"},"email":{"type":"string","format":"email","description":"Contact email address"},"phone_number":{"type":"string","description":"Contact phone number"},"fax_number":{"type":["string","null"]},"kep_address":{"type":["string","null"]},"mersis_number":{"type":["string","null"]},"trade_association":{"type":["string","null"],"description":"Trade association membership information."},"extras":{"type":"object","additionalProperties":true},"price_list":{"type":["integer","null"],"description":"ID of the price list used by this seller."},"stock_list":{"type":["integer","null"],"description":"ID of the stock list used by this seller."},"is_active":{"type":"boolean","description":"Whether this seller is currently active."}}},"SellerStock":{"type":"object","description":"Seller-specific stock information.","properties":{"pk":{"type":"integer","description":"Stock record identifier"},"product":{"type":"integer","description":"Product identifier"},"stock":{"type":"integer","description":"Available stock quantity from this seller."},"unit_type":{"type":"string","description":"Unit of measurement."},"stock_list":{"type":"integer","description":"Stock list identifier"},"stock_list_detailed":{"type":"object","description":"Detailed stock list information.","properties":{"pk":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"}}},"extra_field":{"type":"object","description":"Additional stock-related data.","additionalProperties":true}}},"SellerPrice":{"type":"object","description":"Seller-specific pricing information.","properties":{"pk":{"type":"integer","description":"Price record identifier"},"product":{"type":"integer","description":"Product identifier"},"price":{"type":"string","description":"Seller's current selling price."},"retail_price":{"type":"string","description":"Seller's retail/list price."},"currency_type":{"type":"string","description":"Currency code."},"tax_rate":{"type":"string","description":"Applicable tax rate."},"price_list":{"type":"integer","description":"Price list identifier"},"price_list_detailed":{"type":"object","description":"Detailed price list information.","properties":{"pk":{"type":"integer"},"name":{"type":"string"},"code":{"type":"string"},"currency":{"type":"string"}}},"extra_field":{"type":"object","description":"Additional pricing data.","additionalProperties":true}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://apidocs.akinon.com/commerce-openapis/products/data-source.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
