Public
Documentation Settings

StockLocation_9.8

GETGet StockLocation

https://am-ce98c.corrigo.com/api/v1/base/StockLocation?ID=1
AUTHORIZATIONOAuth 2.0
HEADERS
CompanyName

RDC CE Sandbox

PARAMS
ID

1

Example Request
curl
curl --location 'https://am-ce98c.corrigo.com//api/v1/base/StockLocation?ID=1' \
--header 'CompanyName: RDC CE Sandbox'
200 OK
Example Response
json
{
  "Data": {
    "DisplayAs": "",
    "Number": "Dummy",
    "TypeId": "Cylinder",
    "ShipToName": "",
    "BillToName": "",
    "DeliveryInstructions": "",
    "Comments": "",
    "AllowNegativeQty": true,
    "MoneyId": "USD",
    "TimeZoneId": 20,
    "ConcurrencyId": 1,
    "Id": 1
  }
}
Cache-Control

no-cache

Pragma

no-cache

Content-Type

application/json; charset=utf-8

Expires

-1

Date

Tue, 08 Mar 2022 07:39:11 GMT

Content-Length

215

Strict-Transport-Security

max-age=31536000; includeSubDomains

DELETEDelete StockLocation

https://am-ce98c.corrigo.com/api/v1/base/StockLocation?ID=2
AUTHORIZATIONOAuth 2.0
HEADERS
CompanyName

RDC CE Sandbox

PARAMS
ID

2

Example Request
curl
curl --location --request DELETE 'https://am-ce98c.corrigo.com//api/v1/base/StockLocation?ID=2' \
--header 'CompanyName: RDC CE Sandbox'
200 OK
Example Response
json
{
  "EntitySpecifier": {
    "EntityType": "StockLocation",
    "Id": 2
  }
}
Cache-Control

no-cache

Pragma

no-cache

Content-Type

application/json; charset=utf-8

Expires

-1

Date

Tue, 08 Mar 2022 07:39:29 GMT

Content-Length

57

Strict-Transport-Security

max-age=31536000; includeSubDomains

POSTPost StockLocation

https://am-ce98c.corrigo.com//api/v1/base/StockLocation
AUTHORIZATIONOAuth 2.0
HEADERS
CompanyName

RDC CE Sandbox

Bodyraw (json)
json
{
    "Entity":{
         "DisplayAs": "Arb_Sample_Edit12",
        "Number": "Dummy123",
        "TypeId": "StoreRoom",
        "ShipToName": "",
        "BillToName": "",
        "DeliveryInstructions": "",
        "Comments": "",
        "AllowNegativeQty": true,
        "MoneyId": "USD",
        "TimeZoneId": 20,
        "StreetAddresses": [],
        "ContactAddresses": [],
        "CustomFields": [],
        "ConcurrencyId": 1,
        "Id": 5,
        "PerformDeletion": false,
        "IsNew": false
    }
}
Example Request
curl
curl --location 'https://am-ce98c.corrigo.com//api/v1/base/StockLocation' \
--header 'CompanyName: RDC CE Sandbox' \
--data '{
    "Entity":{
         "DisplayAs": "Arb_Sample_Edit12",
        "Number": "Dummy123",
        "TypeId": "StoreRoom",
        "ShipToName": "",
        "BillToName": "",
        "DeliveryInstructions": "",
        "Comments": "",
        "AllowNegativeQty": true,
        "MoneyId": "USD",
        "TimeZoneId": 20,
        "StreetAddresses": [],
        "ContactAddresses": [],
        "CustomFields": [],
        "ConcurrencyId": 1,
        "Id": 5,
        "PerformDeletion": false,
        "IsNew": false
    }
}'
200 OK
Example Response
json
{
  "EntitySpecifier": {
    "ConcurrencyId": 1,
    "EntityType": "StockLocation",
    "Id": 12
  }
}
Cache-Control

no-cache

Pragma

no-cache

Content-Type

application/json; charset=utf-8

Expires

-1

Date

Tue, 08 Mar 2022 07:40:01 GMT

Content-Length

76

Strict-Transport-Security

max-age=31536000; includeSubDomains

PUTPut StockLocation

https://am-ce98c.corrigo.com//api/v1/base/StockLocation
AUTHORIZATIONOAuth 2.0
HEADERS
CompanyName

RDC CE Sandbox

Bodyraw (json)
json
{ "Properties" : ["*"] ,
                "Entity":{
                     "DisplayAs": "Arb_Sample_Edited",
        "Number": "Dummy2",
        "TypeId": "StoreRoom",
        "ShipToName": "",
        "BillToName": "",
        "DeliveryInstructions": "",
        "Comments": "",
        "AllowNegativeQty": true,
        "MoneyId": "USD",
        "TimeZoneId": 20,
        "StreetAddresses": [],
        "ContactAddresses": [],
        "CustomFields": [],
        "ConcurrencyId": 1,
        "Id": 2,
        "PerformDeletion": false,
        "IsNew": false
                }
}
Example Request
curl
curl --location --request PUT 'https://am-ce98c.corrigo.com//api/v1/base/StockLocation' \
--header 'CompanyName: RDC CE Sandbox' \
--data '{ "Properties" : ["*"] ,
                "Entity":{
                     "DisplayAs": "Arb_Sample_Edited",
        "Number": "Dummy2",
        "TypeId": "StoreRoom",
        "ShipToName": "",
        "BillToName": "",
        "DeliveryInstructions": "",
        "Comments": "",
        "AllowNegativeQty": true,
        "MoneyId": "USD",
        "TimeZoneId": 20,
        "StreetAddresses": [],
        "ContactAddresses": [],
        "CustomFields": [],
        "ConcurrencyId": 1,
        "Id": 2,
        "PerformDeletion": false,
        "IsNew": false
                }
}'
200 OK
Example Response
json
{
  "EntitySpecifier": {
    "ConcurrencyId": 3,
    "EntityType": "StockLocation",
    "Id": 2
  }
}
Cache-Control

no-cache

Pragma

no-cache

Content-Type

application/json; charset=utf-8

Expires

-1

Date

Tue, 08 Mar 2022 07:40:18 GMT

Content-Length

75

Strict-Transport-Security

max-age=31536000; includeSubDomains