# Get Source data by given code **GET /V1/inventory/sources/{sourceCode}** 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 ## Servers - https://magento2.winkelstraat.mac/rest/all: https://magento2.winkelstraat.mac/rest/all () ## Parameters ### Path parameters - **sourceCode** (string) ## Responses ### 200 200 Success. #### Body: (object) - **source_code** (string) Source code - **name** (string) Source name - **email** (string) Source email - **contact_name** (string) Source contact name - **enabled** (boolean) If source is enabled. For new entity can be null - **description** (string) Source description - **latitude** (number) Source latitude - **longitude** (number) Source longitude - **country_id** (string) Source country id - **region_id** (integer) Region id if source has registered region. - **region** (string) Region title if source has custom region - **city** (string) Source city - **street** (string) Source street name - **postcode** (string) Source post code - **phone** (string) Source phone number - **fax** (string) Source fax - **use_default_carrier_config** (boolean) Is need to use default config - **carrier_links** (array[object]) Represents relation between some physical storage and shipping method Used fully qualified namespaces in annotations for proper work of WebApi request parser - **extension_attributes** (object) ExtensionInterface class for @see \Magento\InventoryApi\Api\Data\SourceInterface ### 401 401 Unauthorized #### Body: (object) - **message** (string) Error message - **errors** (array[object]) Error details - **code** (integer) Error code - **parameters** (array[object]) Error parameters item - **trace** (string) Stack trace ### 400 400 Bad Request #### Body: (object) - **message** (string) Error message - **errors** (array[object]) Error details - **code** (integer) Error code - **parameters** (array[object]) Error parameters item - **trace** (string) Stack trace ### default Unexpected error #### Body: (object) - **message** (string) Error message - **errors** (array[object]) Error details - **code** (integer) Error code - **parameters** (array[object]) Error parameters item - **trace** (string) Stack trace [Powered by Bump.sh](https://bump.sh)