Fluent Commerce Logo
Docs
Sign In

PACKING_SLIP_PROPS

Setting

Changed on:

15 Aug 2023

Setting AreaOrders
Supported context levels:RETAILER

Overview

This setting captures the retailer's information used to create packing slips.

Values

Data TypeValues
JSON

`{`

`    "returnInfo": "  FREE SHIPPING OVER $100",`

`    "contactEmail": "email@fluentcommerce.com",`

`    "contactPhone": "+1234567890",`

`    "contactWebsite": "www.fluentcommerce.com/packing_slip_props"`

`}`

Configuration example

1POST: {{fluentApiHost}}/graphql
2
3// create a postman environment variable:
4// Variable: json_value
5// initial val + current value: 
6{
7    "returnInfo": "  FREE SHIPPING OVER $100",
8    "contactEmail": "email@fluentcommerce.com",
9    "contactPhone": "+1234567890",
10    "contactWebsite": "www.fluentcommerce.com/packing_slip_props"
11}
12
13
14GraphQL variables:
15{
16	"retailerId": {{retailer_id}},
17    "lobValue" : {{json_value}}
18}
19
20
21GraphQL Query:
22mutation CreateSetting($retailerId:Int! , $lobValue:Json)  {
23createSetting(input: {
24		name: "PACKING_SLIP_PROPS", 
25		valueType: "JSON", 
26		lobValue:$lobValue , 
27		context: "RETAILER", 
28		contextId:$retailerId}) {
29    id
30    name
31  }
32}

Language: json

Update example

1POST: {{fluentApiHost}}/graphql
2
3// create a postman environment variable:
4// Variable: json_value
5// initial val + current value: 
6{
7    "returnInfo": "  FREE SHIPPING OVER $100",
8    "contactEmail": "email@fluentcommerce.com",
9    "contactPhone": "+1234567890",
10    "contactWebsite": "www.fluentcommerce.com/packing_slip_props"
11}
12
13
14GraphQL variables:
15{
16	"retailerId": {{retailer_id}},
17    "lobValue" : {{json_value}}
18}
19
20
21mutation updateSetting($retailerId:Int! , $lobValue:Json) {
22updateSetting(input: {
23        id: 5001471,
24		name: "PACKING_SLIP_PROPS", 
25		valueType: "JSON", 
26        lobValue: $lobValue,
27		context: "RETAILER", 
28		contextId: $retailerId}) {
29    id
30    name
31  }
32}
33
34

Language: json

Copyright © 2024 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.

Fluent Logo