PUT
/
v1
/
retailers
/
{retailer_pk}
/
permits
/
{id}
/
acknowledge
/

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

Permit ID

retailer_pk
number
required

Retailer ID

Body

application/json
retailer
object
variant
object
connection
object
retailer_price
string | null

Retailer price

retailer_cost
string | null

Retailer cost

pricing
object
attributes
object
start_at
string | null

Time of permit beginning

end_at
string | null

Time of permit ending

revoked_at
string | null

Time of when permit got revoked

acknowledged_at
string | null

Time of permit acknowledgement (UTC format)

Response

200 - application/json
id
integer

Permit ID

retailer
object
variant
object
connection
object
retailer_price
string | null

Retailer price

retailer_cost
string | null

Retailer cost

pricing
object
attributes
object
start_at
string | null

Time of permit beginning

end_at
string | null

Time of permit ending

is_in_effect
boolean

true: Permit is in effect <br /> false: Permit is not in effect

revoked_at
string | null

Time of when permit got revoked

is_acknowledged
boolean

true: Permit is acknowledged <br /> false: Permit is not acknowledged

acknowledged_at
string | null

Time of permit acknowledgement (UTC format)