PUT api/basket

Request Information

URI Parameters

None.

Body Parameters

Basket
NameDescriptionTypeAdditional information
BasketId

integer

None.

BasketTypeId

integer

None.

ClientNr

integer

None.

ErpOrderNr

integer

None.

BasketName

string

None.

OrderTypeNr

integer

None.

OrderType

integer

None.

OrderStatus

integer

None.

SendTypeId

integer

None.

PaymentConditionId

integer

None.

BasketDate

date

None.

BasketUpdated

date

None.

DeliveryDate

date

None.

SalesRepNr

integer

None.

DepartmentNr

integer

None.

Currency

integer

None.

ExchangeRateOverride

decimal number

None.

Rebate

decimal number

None.

DeliveryStreet

string

None.

DeliveryZip

string

None.

DeliveryCity

string

None.

BasketComment

string

None.

BasketRows

Collection of BasketRow

None.

Customer

Customer

None.

Individual

Individual

None.

Request Formats

application/json, text/json

Sample:
{
  "BasketId": 1,
  "BasketTypeId": 2,
  "ClientNr": 3,
  "ErpOrderNr": 1,
  "BasketName": "sample string 4",
  "OrderTypeNr": 5,
  "OrderType": 6,
  "OrderStatus": 7,
  "SendTypeId": 8,
  "PaymentConditionId": 9,
  "BasketDate": "2025-12-19T15:27:19.214836+00:00",
  "BasketUpdated": "2025-12-19T15:27:19.214836+00:00",
  "DeliveryDate": "2025-12-19T15:27:19.214836+00:00",
  "SalesRepNr": 12,
  "DepartmentNr": 13,
  "Currency": 14,
  "ExchangeRateOverride": 1.1,
  "Rebate": 15.1,
  "DeliveryStreet": "sample string 16",
  "DeliveryZip": "sample string 17",
  "DeliveryCity": "sample string 18",
  "BasketComment": "sample string 19",
  "BasketRows": [
    {
      "BasketRowId": 1,
      "LineNr": 2,
      "ArticleId": 1,
      "ArticleName": "sample string 3",
      "ArticleNameOverride": "sample string 4",
      "Quantity": 5.1,
      "StockStatus": 6,
      "UnitOverride": "sample string 7",
      "PriceOut": 1.1,
      "PriceList": 1.1,
      "PriceOverride": 1.1,
      "RowRebate": 8.1,
      "DepartmentNr": 9,
      "WharehouseNr": 10,
      "RowComment": "sample string 11",
      "ProductUrlUsed": "sample string 12",
      "DefaultCollectionSlug": "sample string 13",
      "DefaultCategoryList": "sample string 14",
      "CollectionImages": [
        "sample string 1",
        "sample string 2"
      ],
      "ProductImages": [
        "sample string 1",
        "sample string 2"
      ]
    },
    {
      "BasketRowId": 1,
      "LineNr": 2,
      "ArticleId": 1,
      "ArticleName": "sample string 3",
      "ArticleNameOverride": "sample string 4",
      "Quantity": 5.1,
      "StockStatus": 6,
      "UnitOverride": "sample string 7",
      "PriceOut": 1.1,
      "PriceList": 1.1,
      "PriceOverride": 1.1,
      "RowRebate": 8.1,
      "DepartmentNr": 9,
      "WharehouseNr": 10,
      "RowComment": "sample string 11",
      "ProductUrlUsed": "sample string 12",
      "DefaultCollectionSlug": "sample string 13",
      "DefaultCategoryList": "sample string 14",
      "CollectionImages": [
        "sample string 1",
        "sample string 2"
      ],
      "ProductImages": [
        "sample string 1",
        "sample string 2"
      ]
    }
  ],
  "Customer": {
    "CustomerId": 1,
    "CustomerNumber": 2,
    "EmailAddress": "sample string 3",
    "CustomerTypeId": 4,
    "CompanyName": "sample string 5",
    "FirstName": "sample string 6",
    "LastName": "sample string 7",
    "StreetAddress": "sample string 8",
    "ZipCode": "sample string 9",
    "City": "sample string 10",
    "DeliveryStreet": "sample string 11",
    "DeliveryZip": "sample string 12",
    "DeliveryCity": "sample string 13",
    "Country": "sample string 14",
    "Telephone": "sample string 15",
    "MobilePhone": "sample string 16",
    "SocialSecNr": "sample string 17",
    "Password": "sample string 18",
    "StatusCode": 19
  },
  "Individual": {
    "IndividualId": 1,
    "IndividualNr": 2,
    "IndividualTypeId": 3,
    "Brand": "sample string 4",
    "Model": "sample string 5",
    "EngineBrand": "sample string 6",
    "EngineModel": "sample string 7",
    "HullNumber": "sample string 8",
    "EngineNr": "sample string 9",
    "WinterSpot": "sample string 10",
    "SummerSpot": "sample string 11"
  }
}

application/xml, text/xml

Sample:
<Basket xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Marindepan2015.Models">
  <BasketComment>sample string 19</BasketComment>
  <BasketDate>2025-12-19T15:27:19.214836+00:00</BasketDate>
  <BasketId>1</BasketId>
  <BasketName>sample string 4</BasketName>
  <BasketRows>
    <BasketRow>
      <ArticleId>1</ArticleId>
      <ArticleName>sample string 3</ArticleName>
      <ArticleNameOverride>sample string 4</ArticleNameOverride>
      <BasketRowId>1</BasketRowId>
      <CollectionImages xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </CollectionImages>
      <DefaultCategoryList>sample string 14</DefaultCategoryList>
      <DefaultCollectionSlug>sample string 13</DefaultCollectionSlug>
      <DepartmentNr>9</DepartmentNr>
      <LineNr>2</LineNr>
      <PriceList>1.1</PriceList>
      <PriceOut>1.1</PriceOut>
      <PriceOverride>1.1</PriceOverride>
      <ProductImages xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </ProductImages>
      <ProductUrlUsed>sample string 12</ProductUrlUsed>
      <Quantity>5.1</Quantity>
      <RowComment>sample string 11</RowComment>
      <RowRebate>8.1</RowRebate>
      <StockStatus>6</StockStatus>
      <UnitOverride>sample string 7</UnitOverride>
      <WharehouseNr>10</WharehouseNr>
    </BasketRow>
    <BasketRow>
      <ArticleId>1</ArticleId>
      <ArticleName>sample string 3</ArticleName>
      <ArticleNameOverride>sample string 4</ArticleNameOverride>
      <BasketRowId>1</BasketRowId>
      <CollectionImages xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </CollectionImages>
      <DefaultCategoryList>sample string 14</DefaultCategoryList>
      <DefaultCollectionSlug>sample string 13</DefaultCollectionSlug>
      <DepartmentNr>9</DepartmentNr>
      <LineNr>2</LineNr>
      <PriceList>1.1</PriceList>
      <PriceOut>1.1</PriceOut>
      <PriceOverride>1.1</PriceOverride>
      <ProductImages xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </ProductImages>
      <ProductUrlUsed>sample string 12</ProductUrlUsed>
      <Quantity>5.1</Quantity>
      <RowComment>sample string 11</RowComment>
      <RowRebate>8.1</RowRebate>
      <StockStatus>6</StockStatus>
      <UnitOverride>sample string 7</UnitOverride>
      <WharehouseNr>10</WharehouseNr>
    </BasketRow>
  </BasketRows>
  <BasketTypeId>2</BasketTypeId>
  <BasketUpdated>2025-12-19T15:27:19.214836+00:00</BasketUpdated>
  <ClientNr>3</ClientNr>
  <Currency>14</Currency>
  <Customer>
    <City>sample string 10</City>
    <CompanyName>sample string 5</CompanyName>
    <Country>sample string 14</Country>
    <CustomerId>1</CustomerId>
    <CustomerNumber>2</CustomerNumber>
    <CustomerTypeId>4</CustomerTypeId>
    <DeliveryCity>sample string 13</DeliveryCity>
    <DeliveryStreet>sample string 11</DeliveryStreet>
    <DeliveryZip>sample string 12</DeliveryZip>
    <EmailAddress>sample string 3</EmailAddress>
    <FirstName>sample string 6</FirstName>
    <LastName>sample string 7</LastName>
    <MobilePhone>sample string 16</MobilePhone>
    <Password>sample string 18</Password>
    <SocialSecNr>sample string 17</SocialSecNr>
    <StatusCode>19</StatusCode>
    <StreetAddress>sample string 8</StreetAddress>
    <Telephone>sample string 15</Telephone>
    <ZipCode>sample string 9</ZipCode>
  </Customer>
  <DeliveryCity>sample string 18</DeliveryCity>
  <DeliveryDate>2025-12-19T15:27:19.214836+00:00</DeliveryDate>
  <DeliveryStreet>sample string 16</DeliveryStreet>
  <DeliveryZip>sample string 17</DeliveryZip>
  <DepartmentNr>13</DepartmentNr>
  <ErpOrderNr>1</ErpOrderNr>
  <ExchangeRateOverride>1.1</ExchangeRateOverride>
  <Individual>
    <Brand>sample string 4</Brand>
    <EngineBrand>sample string 6</EngineBrand>
    <EngineModel>sample string 7</EngineModel>
    <EngineNr>sample string 9</EngineNr>
    <HullNumber>sample string 8</HullNumber>
    <IndividualId>1</IndividualId>
    <IndividualNr>2</IndividualNr>
    <IndividualTypeId>3</IndividualTypeId>
    <Model>sample string 5</Model>
    <SummerSpot>sample string 11</SummerSpot>
    <WinterSpot>sample string 10</WinterSpot>
  </Individual>
  <OrderStatus>7</OrderStatus>
  <OrderType>6</OrderType>
  <OrderTypeNr>5</OrderTypeNr>
  <PaymentConditionId>9</PaymentConditionId>
  <Rebate>15.1</Rebate>
  <SalesRepNr>12</SalesRepNr>
  <SendTypeId>8</SendTypeId>
</Basket>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Basket
NameDescriptionTypeAdditional information
BasketId

integer

None.

BasketTypeId

integer

None.

ClientNr

integer

None.

ErpOrderNr

integer

None.

BasketName

string

None.

OrderTypeNr

integer

None.

OrderType

integer

None.

OrderStatus

integer

None.

SendTypeId

integer

None.

PaymentConditionId

integer

None.

BasketDate

date

None.

BasketUpdated

date

None.

DeliveryDate

date

None.

SalesRepNr

integer

None.

DepartmentNr

integer

None.

Currency

integer

None.

ExchangeRateOverride

decimal number

None.

Rebate

decimal number

None.

DeliveryStreet

string

None.

DeliveryZip

string

None.

DeliveryCity

string

None.

BasketComment

string

None.

BasketRows

Collection of BasketRow

None.

Customer

Customer

None.

Individual

Individual

None.

Response Formats

application/json, text/json

Sample:
{
  "BasketId": 1,
  "BasketTypeId": 2,
  "ClientNr": 3,
  "ErpOrderNr": 1,
  "BasketName": "sample string 4",
  "OrderTypeNr": 5,
  "OrderType": 6,
  "OrderStatus": 7,
  "SendTypeId": 8,
  "PaymentConditionId": 9,
  "BasketDate": "2025-12-19T15:27:19.3085377+00:00",
  "BasketUpdated": "2025-12-19T15:27:19.3085377+00:00",
  "DeliveryDate": "2025-12-19T15:27:19.3085377+00:00",
  "SalesRepNr": 12,
  "DepartmentNr": 13,
  "Currency": 14,
  "ExchangeRateOverride": 1.1,
  "Rebate": 15.1,
  "DeliveryStreet": "sample string 16",
  "DeliveryZip": "sample string 17",
  "DeliveryCity": "sample string 18",
  "BasketComment": "sample string 19",
  "BasketRows": [
    {
      "BasketRowId": 1,
      "LineNr": 2,
      "ArticleId": 1,
      "ArticleName": "sample string 3",
      "ArticleNameOverride": "sample string 4",
      "Quantity": 5.1,
      "StockStatus": 6,
      "UnitOverride": "sample string 7",
      "PriceOut": 1.1,
      "PriceList": 1.1,
      "PriceOverride": 1.1,
      "RowRebate": 8.1,
      "DepartmentNr": 9,
      "WharehouseNr": 10,
      "RowComment": "sample string 11",
      "ProductUrlUsed": "sample string 12",
      "DefaultCollectionSlug": "sample string 13",
      "DefaultCategoryList": "sample string 14",
      "CollectionImages": [
        "sample string 1",
        "sample string 2"
      ],
      "ProductImages": [
        "sample string 1",
        "sample string 2"
      ]
    },
    {
      "BasketRowId": 1,
      "LineNr": 2,
      "ArticleId": 1,
      "ArticleName": "sample string 3",
      "ArticleNameOverride": "sample string 4",
      "Quantity": 5.1,
      "StockStatus": 6,
      "UnitOverride": "sample string 7",
      "PriceOut": 1.1,
      "PriceList": 1.1,
      "PriceOverride": 1.1,
      "RowRebate": 8.1,
      "DepartmentNr": 9,
      "WharehouseNr": 10,
      "RowComment": "sample string 11",
      "ProductUrlUsed": "sample string 12",
      "DefaultCollectionSlug": "sample string 13",
      "DefaultCategoryList": "sample string 14",
      "CollectionImages": [
        "sample string 1",
        "sample string 2"
      ],
      "ProductImages": [
        "sample string 1",
        "sample string 2"
      ]
    }
  ],
  "Customer": {
    "CustomerId": 1,
    "CustomerNumber": 2,
    "EmailAddress": "sample string 3",
    "CustomerTypeId": 4,
    "CompanyName": "sample string 5",
    "FirstName": "sample string 6",
    "LastName": "sample string 7",
    "StreetAddress": "sample string 8",
    "ZipCode": "sample string 9",
    "City": "sample string 10",
    "DeliveryStreet": "sample string 11",
    "DeliveryZip": "sample string 12",
    "DeliveryCity": "sample string 13",
    "Country": "sample string 14",
    "Telephone": "sample string 15",
    "MobilePhone": "sample string 16",
    "SocialSecNr": "sample string 17",
    "Password": "sample string 18",
    "StatusCode": 19
  },
  "Individual": {
    "IndividualId": 1,
    "IndividualNr": 2,
    "IndividualTypeId": 3,
    "Brand": "sample string 4",
    "Model": "sample string 5",
    "EngineBrand": "sample string 6",
    "EngineModel": "sample string 7",
    "HullNumber": "sample string 8",
    "EngineNr": "sample string 9",
    "WinterSpot": "sample string 10",
    "SummerSpot": "sample string 11"
  }
}

application/xml, text/xml

Sample:
<Basket xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Marindepan2015.Models">
  <BasketComment>sample string 19</BasketComment>
  <BasketDate>2025-12-19T15:27:19.3085377+00:00</BasketDate>
  <BasketId>1</BasketId>
  <BasketName>sample string 4</BasketName>
  <BasketRows>
    <BasketRow>
      <ArticleId>1</ArticleId>
      <ArticleName>sample string 3</ArticleName>
      <ArticleNameOverride>sample string 4</ArticleNameOverride>
      <BasketRowId>1</BasketRowId>
      <CollectionImages xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </CollectionImages>
      <DefaultCategoryList>sample string 14</DefaultCategoryList>
      <DefaultCollectionSlug>sample string 13</DefaultCollectionSlug>
      <DepartmentNr>9</DepartmentNr>
      <LineNr>2</LineNr>
      <PriceList>1.1</PriceList>
      <PriceOut>1.1</PriceOut>
      <PriceOverride>1.1</PriceOverride>
      <ProductImages xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </ProductImages>
      <ProductUrlUsed>sample string 12</ProductUrlUsed>
      <Quantity>5.1</Quantity>
      <RowComment>sample string 11</RowComment>
      <RowRebate>8.1</RowRebate>
      <StockStatus>6</StockStatus>
      <UnitOverride>sample string 7</UnitOverride>
      <WharehouseNr>10</WharehouseNr>
    </BasketRow>
    <BasketRow>
      <ArticleId>1</ArticleId>
      <ArticleName>sample string 3</ArticleName>
      <ArticleNameOverride>sample string 4</ArticleNameOverride>
      <BasketRowId>1</BasketRowId>
      <CollectionImages xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </CollectionImages>
      <DefaultCategoryList>sample string 14</DefaultCategoryList>
      <DefaultCollectionSlug>sample string 13</DefaultCollectionSlug>
      <DepartmentNr>9</DepartmentNr>
      <LineNr>2</LineNr>
      <PriceList>1.1</PriceList>
      <PriceOut>1.1</PriceOut>
      <PriceOverride>1.1</PriceOverride>
      <ProductImages xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </ProductImages>
      <ProductUrlUsed>sample string 12</ProductUrlUsed>
      <Quantity>5.1</Quantity>
      <RowComment>sample string 11</RowComment>
      <RowRebate>8.1</RowRebate>
      <StockStatus>6</StockStatus>
      <UnitOverride>sample string 7</UnitOverride>
      <WharehouseNr>10</WharehouseNr>
    </BasketRow>
  </BasketRows>
  <BasketTypeId>2</BasketTypeId>
  <BasketUpdated>2025-12-19T15:27:19.3085377+00:00</BasketUpdated>
  <ClientNr>3</ClientNr>
  <Currency>14</Currency>
  <Customer>
    <City>sample string 10</City>
    <CompanyName>sample string 5</CompanyName>
    <Country>sample string 14</Country>
    <CustomerId>1</CustomerId>
    <CustomerNumber>2</CustomerNumber>
    <CustomerTypeId>4</CustomerTypeId>
    <DeliveryCity>sample string 13</DeliveryCity>
    <DeliveryStreet>sample string 11</DeliveryStreet>
    <DeliveryZip>sample string 12</DeliveryZip>
    <EmailAddress>sample string 3</EmailAddress>
    <FirstName>sample string 6</FirstName>
    <LastName>sample string 7</LastName>
    <MobilePhone>sample string 16</MobilePhone>
    <Password>sample string 18</Password>
    <SocialSecNr>sample string 17</SocialSecNr>
    <StatusCode>19</StatusCode>
    <StreetAddress>sample string 8</StreetAddress>
    <Telephone>sample string 15</Telephone>
    <ZipCode>sample string 9</ZipCode>
  </Customer>
  <DeliveryCity>sample string 18</DeliveryCity>
  <DeliveryDate>2025-12-19T15:27:19.3085377+00:00</DeliveryDate>
  <DeliveryStreet>sample string 16</DeliveryStreet>
  <DeliveryZip>sample string 17</DeliveryZip>
  <DepartmentNr>13</DepartmentNr>
  <ErpOrderNr>1</ErpOrderNr>
  <ExchangeRateOverride>1.1</ExchangeRateOverride>
  <Individual>
    <Brand>sample string 4</Brand>
    <EngineBrand>sample string 6</EngineBrand>
    <EngineModel>sample string 7</EngineModel>
    <EngineNr>sample string 9</EngineNr>
    <HullNumber>sample string 8</HullNumber>
    <IndividualId>1</IndividualId>
    <IndividualNr>2</IndividualNr>
    <IndividualTypeId>3</IndividualTypeId>
    <Model>sample string 5</Model>
    <SummerSpot>sample string 11</SummerSpot>
    <WinterSpot>sample string 10</WinterSpot>
  </Individual>
  <OrderStatus>7</OrderStatus>
  <OrderType>6</OrderType>
  <OrderTypeNr>5</OrderTypeNr>
  <PaymentConditionId>9</PaymentConditionId>
  <Rebate>15.1</Rebate>
  <SalesRepNr>12</SalesRepNr>
  <SendTypeId>8</SendTypeId>
</Basket>