(branding)
Gets the brand properties for the specified account.
from moov import Moov
import os
s = Moov(
gateway_auth=os.getenv("MOOV_GATEWAY_AUTH", ""),
)
res = s.branding.get_branding(account_id="4de607f4-575e-4ce3-9d41-d6af8398a770")
if res is not None:
# handle response
pass
Parameter |
Type |
Required |
Description |
account_id |
str |
✔️ |
ID of the account. |
retries |
Optional[utils.RetryConfig] |
➖ |
Configuration to override the default retry behavior of the client. |
models.GetBrandingResponse
Error Type |
Status Code |
Content Type |
models.SDKError |
4XX, 5XX |
*/* |
Creates the brand properties for the specified account.
from moov import Moov
import os
s = Moov(
gateway_auth=os.getenv("MOOV_GATEWAY_AUTH", ""),
)
res = s.branding.create_branding(account_id="3226d1b6-78c9-4a27-88d7-faf928bc4492", request_body={
"colors": {
"light": {
"accent": "#111111",
},
"dark": {
"accent": "#ffffff",
},
},
})
if res is not None:
# handle response
pass
models.CreateBrandingResponse
Error Type |
Status Code |
Content Type |
models.SDKError |
4XX, 5XX |
*/* |
Updates the brand properties for the specified account.
from moov import Moov
import os
s = Moov(
gateway_auth=os.getenv("MOOV_GATEWAY_AUTH", ""),
)
res = s.branding.update_branding(account_id="3c399c04-daff-4fba-90b7-bc0d2d264610", request_body={
"colors": {
"light": {
"accent": "#111111",
},
"dark": {
"accent": "#ffffff",
},
},
})
if res is not None:
# handle response
pass
models.UpdateBrandingResponse
Error Type |
Status Code |
Content Type |
models.SDKError |
4XX, 5XX |
*/* |