PearlPOS
  1. Inbound
PearlPOS
  • Inbound
    • postMasterdata
      POST
    • postPOSdata
      POST
  • Outbound
    • POSlog
      POST
  • Live Endpoints
    • getCustomers
      GET
    • getCustomerOrders
      GET
    • verifyDigitalArticle
      GET
    • purchaseDigitalArticle
      POST
    • getRelatedProducts
      GET
    • getSerialNumberVerification
      GET
    • getAvailableValueCodes
      GET
    • getValueCodes
      GET
  1. Inbound

postMasterdata

POST
/inbmasterdata/postMasterdata

Request

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Body

🔴500Internal server error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/inbmasterdata/postMasterdata' \
--header 'Content-Type: application/json' \
--data-raw '{
    "storeData": [
        {
            "store": null,
            "name": "Werk 0001",
            "salesOrg": "1",
            "chain": "Chain1",
            "city": "Lysaker",
            "district": null,
            "postCode": "1366",
            "street": "Lysaker Torg 45",
            "country": "NO",
            "language": "NO",
            "currency": "NOK",
            "vatNumber": null,
            "phoneNumber": null,
            "faxNumber": null,
            "email": null,
            "companyName": "Pearl Extend AS",
            "companyAddress": "Lysaker Torg 45, 1366 Lysaker",
            "fiscalYearStart": "1",
            "fiscalYearEnd": "12"
        }
    ],
    "taxData": [
        {
            "country": false,
            "taxCode": "U0",
            "taxRate": 0,
            "officialTaxCode": null
        }
    ],
    "userAssigment": [
        {
            "user": "userEmail@company.com",
            "stores": [
                [
                    "0000002101"
                ]
            ],
            "chains": [
                [
                    "CHAIN1",
                    "CHAIN2"
                ]
            ],
            "countries": [
                [
                    "NO"
                ]
            ],
            "employee_id": "12345679",
            "name": "Full name"
        }
    ],
    "materialGroup": [
        {
            "materialGroup": "5530050",
            "language": false,
            "description": "Mid-range Smartphones",
            "refArticle": null,
            "dummyTaxCode": null,
            "materialGroupL1": "1",
            "materialGroupL1Desc": "Consumer Electronics",
            "materialGroupL2": "55",
            "materialGroupL2Desc": "Mobile Devices",
            "materialGroupL3": "5530",
            "materialGroupL3Desc": "Smartphones"
        }
    ],
    "refArticle": [
        {
            "materialGroup": "5530050",
            "country": false,
            "salesOrg": null,
            "store": null,
            "refArticle": "000000000091000000",
            "baseUom": "STK",
            "itemType": "Stock",
            "taxCode": "U1"
        }
    ],
    "articleHierarchy": [
        {
            "Store": "0000003002",
            "Chain": "CHAIN1",
            "Country": "NO",
            "Description": "Article hierarchy for norwegian stores",
            "Delete": false,
            "Nodes": [
                {
                    "Node": "string",
                    "ParentNode": "",
                    "Text": "Node text",
                    "Image": "Image url",
                    "ArticleAssignment": [
                        "03040303",
                        "1002001"
                    ]
                }
            ]
        }
    ]
}'
Response Response Example
200 - Example Success
{
    "result": {
        "statusCode": 200,
        "statusText": "Data posted succsessfully"
    }
}
Modified at 2025-11-24 14:28:34
Next
postPOSdata
Built with