Related Documents
Reference - WebShop REST API 7.9
Document Properties
Kbid
F28365
Last Modified
31-May-2022
Added to KB
19-Jul-2017
Public Access
Everyone
Status
Online
Doc Type
References
Product
  • ICM 7.9
  • ICM 7.10
REST API - Get basket cost object


Note

Starting with Intershop 7.10 our REST API is provided in the Open API 3.0 format, see Reference - Intershop Commerce Management 7.10 REST API.

URI

/baskets/<basket-id>/costobjects/<cost-object-assignment-id>

Http Method

GET

Short Description

Returns a cost object that was set to the basket

Query Parameters

none

Example Requests

/baskets/CNoKDAB_V4MAAAFSY78enLBi/costobjects/49AKDAB_4JYAAAFUARyVxJ9I

HTTP Status Codes

200 OK

401 Unauthorized

403 Forbidden

404 Not Found

Description

Returns a cost object that was set to the basket

Cartridge

app_sf_rest_b2b
ApplicationSMB Responsive Shop
Access Restrictions

Requires authentication with user having assigned the following permissions:

  • View Cost Object (APP_B2B_VIEW_COSTOBJECT)

Product Version

7.9

Product To Version

 
Status

New Labels

JSON

Request data format

application/json

Request related java object

com.intershop.application.storefront.rest.b2b.capi.order.costobject.resource.BasketCostObjectItemResource

Request data example

n/a

Response data format

application/json

Response related java object

com.intershop.application.storefront.rest.b2b.capi.costobject.resourceobject.CostObjectAssignmentRO
com.intershop.application.storefront.rest.b2b.capi.order.costobject.resource.BasketCostObjectItemResource

Response data example

200 OK
{
    "type": "Project"
    "name": "451"
}

XML

Request data format

text/xml

Request related java object

com.intershop.application.storefront.rest.b2b.capi.order.costobject.resource.BasketCostObjectItemResource

Request data example

n/a

Response data format

text/xml

Response related java object

com.intershop.application.storefront.rest.b2b.capi.costobject.resourceobject.CostObjectAssignmentRO
com.intershop.application.storefront.rest.b2b.capi.order.costobject.resource.BasketCostObjectItemResource

Response data example

200 OK
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<CostObject>
  <name>451</name>
  <type>Project</type>
</CostObject>
Disclaimer

The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Customer Support
Knowledge Base
Product Resources
Tickets