ReDoc documentation
Get Source data by given code. If you want to create plugin on get method, also you need to create separate plugin on getList method, because entity loading way is different for these methods
200 Success.
400 Bad Request
401 Unauthorized
Unexpected error
{- "source_code": "string",
- "name": "string",
- "email": "string",
- "contact_name": "string",
- "enabled": true,
- "description": "string",
- "latitude": 0,
- "longitude": 0,
- "country_id": "string",
- "region_id": 0,
- "region": "string",
- "city": "string",
- "street": "string",
- "postcode": "string",
- "phone": "string",
- "fax": "string",
- "use_default_carrier_config": true,
- "carrier_links": [
- {
- "carrier_code": "string",
- "position": 0,
- "extension_attributes": { }
}
], - "extension_attributes": {
- "is_pickup_location_active": true,
- "frontend_name": "string",
- "frontend_description": "string"
}
}
Save Source data
400 Bad Request
401 Unauthorized
Unexpected error
{- "source": {
- "source_code": "string",
- "name": "string",
- "email": "string",
- "contact_name": "string",
- "enabled": true,
- "description": "string",
- "latitude": 0,
- "longitude": 0,
- "country_id": "string",
- "region_id": 0,
- "region": "string",
- "city": "string",
- "street": "string",
- "postcode": "string",
- "phone": "string",
- "fax": "string",
- "use_default_carrier_config": true,
- "carrier_links": [
- {
- "carrier_code": "string",
- "position": 0,
- "extension_attributes": { }
}
], - "extension_attributes": {
- "is_pickup_location_active": true,
- "frontend_name": "string",
- "frontend_description": "string"
}
}
}
{- "message": "string",
- "errors": [
- {
- "message": "string",
- "parameters": [
- {
- "resources": "string",
- "fieldName": "string",
- "fieldValue": "string"
}
]
}
], - "code": 0,
- "parameters": [
- {
- "resources": "string",
- "fieldName": "string",
- "fieldValue": "string"
}
], - "trace": "string"
}