# RelationHeader specification JSON or XML serialized string of the RelationHeader object. Note that the enums must be of integer values when using application/xml. Encoding and can be either string or integer for application/json. Also note that this must be a single string without line breaks and all values in the arrays should be comma separated. Omit properties not used. ## Specification ```json { "AccountId": integer, "FullFile": boolean, "RelationFieldsThatAreSet": [integer|string], "RelationCultureFieldsThatAreSet": [integer|string], "JobId": integer, "SerializationType": integer|string, "StorageName": string, "SupplierId": integer } ``` ```json {"AccountId":0,"FullFile":false,"RelationFieldsThatAreSet":[3],"RelationCultureFieldsThatAreSet":[],"SerializationType":0} ``` ### AccountId `integer` Required. Account id of the integration service which initiated the import. Learn about system accounts [here](/developer-portal/system-integration/calling-norce-commerce-connect#using-system-accounts). ### FullFile `boolean` Required Flag that specify how Norce Commerce Connect will handle the import. If true, all prices from the competitors not in this import will be deactivated. If false, the import will be handled as an update only, and other products already having prices will be ignored. Use with caution and if you're ever unsure please set this to false. ### RelationFieldsThatAreSet `[integer|string]` Required. Comma separated array of integers or strings that specifies which relation fields that should be created/updated. *Use the integer instead of the name for the xml content type* | Integer Value | Code | Remarks | | --- | --- | --- | | 1 | `IsActive` | | | 2 | `IsVariantUnique` | | | 3 | `IsVariantUniqueCreateOnly` | Value is only set if the relation entity is created by this import | | 4 | `IsRelatedVariantUnique` | | | 5 | `IsRelatedVariantUniqueCreateOnly` | Value is only set if the relation entity is created by this import | | 6 | `DefaultName` | | | 7 | `DefaultSubHeader` | | | 8 | `DefaultSubDescription` | | | 9 | `DefaultDescriptionHeader` | | | 10 | `DefaultDescription` | | | 11 | `Cultures` | Required if you have `RelationCultureFieldsThatAreSet` values | | 12 | `SortOrder` | | ### RelationCultureFieldsThatAreSet `[integer|string]` Required. Comma separated array of integers or strings that specifies which relation culture fields that should be created/updated. Required settings: `Culture` (in `RelationFieldsThatAreSet`) *Use the integer instead of the name for the xml content type* | Integer Value | Code | Remarks | | --- | --- | --- | | 1 | `Name` | | | 2 | `NameCreateOnly` | Value is only set if the relation culture entity is created by this import | | 3 | `SubHeader` | | | 4 | `SubDescription` | | | 5 | `DescriptionHeader` | | | 6 | `Description` | | | 7 | `DescriptionCreateOnly` | Value is only set if the relation culture entity is created by this import | ### JobId `integer` - Optional Internal Norce Commerce id for this job. Created automatically by Norce Commerce Connect. Should be omitted in the import request. ### SerializationType `integer|string` - Optional Request serialization type. (*Use the integer instead of the name for the xml content type*) 0 = `JSON`, 1 = `XML` ### StorageName `string ` - Optional Location of the import file on Norce's file area. Can be used instead of sending data directly in payload. This requires another process of file uploads agreed with Norce to work. ### SupplierId `integer` - Optional Only used in combination with `StorageName` above.