Display_options changes do not update

When trying to update display_options, the changes do not persist in the JSON returned after making the call to update:

{

"parties": [

{

"signatory": false,

"is_signatory": false,

"confirmation_delivery_method": "none"

},

{

"signatory": true,

"is_signatory": true,

"fields": [

{

"obligatory": true,

"value": "fredrik@example",

"should_be_filled_by_sender": true,

"type": "email",

"is_obligatory": true,

"placements": []

},

{

"obligatory": true,

"name": "Signature 1",

"should_be_filled_by_sender": false,

"type": "signature",

"is_obligatory": true,

"placements": [

{

"xrel": 0.15,

"yrel": 0.72,

"wrel": 0.24,

"hrel": 0.03,

"fsrel": 0.02,

"page": 1,

"tip": "right",

"anchors": []

}

]

},

{

"type": "name",

"order": 1,

"value": "Frerdik Testsson",

"is_obligatory": true,

"should_be_filled_by_sender": true,

"placements": [

{

"xrel": 0.58105266,

"yrel": 0.73,

"wrel": 0.2736842,

"hrel": 0.07589286,

"fsrel": 0.0168,

"page": 1,

"tip": "right",

"anchors": []

}

]

},

{

"should_be_filled_by_sender": false,

"type": "text",

"is_obligatory": true,

"placements": [

{

"xrel": 0.15,

"yrel": 0.69345236,

"wrel": 0.5,

"hrel": 0.04,

"fsrel": 0.016842104,

"page": 1,

"tip": "right",

"anchors": []

}

],

"name": "Datum"

}

],

"sign_order": 1,

"delivery_method": "email",

"confirmation_delivery_method": "none"

}

],

"days_to_sign": 1,

"diplay_options": {

"show_header": false,

"show_pdf_download": true,

"show_reject_option": false,

"allow_reject_reason": false,

"show_footer": false

},

"lang": "sv",

"api_callback_url": "http://somecallback.example.com"

}

Solution

A spelling error in the above JSON (“diplay_options”) is the reason display_options reverts to default, rather than get updated. This object will not be stored or updated by Scrive, as it is not part of the document JSON definition.