REL documentation
Resource:Collection: of customerordersourceC# Rel Const:Rels.CustomerSvc.CustomerOrderSourcesURI template:{id}/ordersourcesObtain URI from:
get a list of order source given a customerID
Success status: 200
| Name (* = required) | Data Type | Description |
|---|---|---|
| id * | int | customer id |
| Type | Description | |
|---|---|---|
| ResourceList | IList<Customer.Models.CustomerOrderSource> | |
| CustomerIdentifier | Generic.Models.CustomerIdentifier | |
| ExternalId | string | |
| Name | string | |
| Id | int | |
| OrderSource | string | |
| Links | IList<WebApi.Hal.Link> | |
| - /rels/customers/customer |
{
"_embedded": {
"http://api.3plCentral.com/rels/customers/customerordersource": [
{
"customerIdentifier": {
"externalId": "str",
"name": "str",
"id": 3
},
"orderSource": "str"
}
]
}
}
Create a new Customer Order Source
Success status: 201
| Name (* = required) | Data Type | Description |
|---|---|---|
| id * | int | customer id |
| Type | Description | |
|---|---|---|
| CustomerIdentifier | Generic.Models.CustomerIdentifier | |
| ExternalId | string | |
| Name | string | |
| Id | int | |
| OrderSource | string |
Sample content-type: application/hal+json |
{
"customerIdentifier": {
"externalId": "str",
"name": "str",
"id": 3
},
"orderSource": "str"
}
| Type | Description | |
|---|---|---|
| CustomerIdentifier | Generic.Models.CustomerIdentifier | |
| ExternalId | string | |
| Name | string | |
| Id | int | |
| OrderSource | string | |
| Links | IList<WebApi.Hal.Link> | |
| - /rels/customers/customer |
{
"customerIdentifier": {
"externalId": "str",
"name": "str",
"id": 3
},
"orderSource": "str"
}
This documentation is subject to change, and is updated often and without warning. The models documented may or may not be available to users now or in the future. Use this documentation at your own risk.
Contact api@3plcentral.com with any questions about this documentation.