Zum Inhalt springen
meniodevelopermenio DashboardVorschau

Get All · Management API

Get All

Management API BetaCost center management
GET/CostCenters?storeId={storeId}&take={take}&skip={skip}

Parameter

storeIdstringErforderlich

the store id

Beispiel: ZZZ-ZZZZ
takeint

how many cost centers you want to request

Beispiel: 100
skipint

how many cost centers you want to skip

Beispiel: 200

Request-Header

Authorization
BASIC am9obi5kb2VAZXhhbXBsZS5jb206bTJ2SWlzSVlFajBaNHlj
Kontext: Cost center management

Property Description

Cost center (object)

Property Data type Description
Code String The id of the cost center
InternalName String The internally visible name of the cost center
ExternalName String Translations of the cost centers name visible to end users
BillingAddress Object The BillingAddress object holding information about the billing address

BillingAddress (object)

Property Data type Description
Name String The name of the billing address
AddressLine1 String The first address line of the billing address
AddressLine2 String The second address line of the billing address
PostalCode String The postal code of the billing address
City String The city of the billing address
Country String The country of the billing address
Originaler Blueprint-Ausschnitt
API Blueprint
### Get All [GET]

+ Request

    + Headers
    
                Authorization : BASIC am9obi5kb2VAZXhhbXBsZS5jb206bTJ2SWlzSVlFajBaNHlj
                
+ Response 200

    + Body
    
            {
                "TotalCostCentersCount": "20",
                "CostCenters": [
                    {
                        "Code": "H38UJ",
                        "InternalName": "Conference Room Employee",
                        "ExternalName": [
                            {
                                "lang": "en-US",
                                "val": "Conference Room A"
                            },
                            {
                                "lang": "de-DE",
                                "val": "Konferenzraum A"
                            }
                        ],
                        "BillingAddress": {
                            "Name": "Conference Room A"
                            "AddressLine1": "Doyle Shoals",
                            "AddressLine2": "Suite 908",
                            "PostalCode": "26483",
                            "City": "Millerchester",
                            "Country": "Ireland"
                        }
                    }
                ]
            }