POST https://test.noibo.the350f.com/api/sapo-webhook/receive

SapoWebhookController :: receiveSapoEvent

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"App\SapoBundle\Controller\SapoWebhookController::receiveSapoEvent"
_route
"sapo_webhook_receive"
_route_params
[]
_stopwatch_token
"49a03e"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip;q=1.0,deflate;q=0.6,identity;q=0.3"
connection
"Keep-Alive"
content-length
"1040"
content-type
"application/json; charset=utf-8"
host
"test.noibo.the350f.com"
user-agent
"JVM"
x-event-version
"5281859450"
x-php-ob-level
"1"
x-sapo-customer-id
"538943575"
x-sapo-hmac-sha256
"0OciixPWbcwh3Cx05/EBUBoJqsZovBNsZQSC60pEMLg="
x-sapo-object-id
"538943575"
x-sapo-tenant-domain
"the-350f.mysapogo.com"
x-sapo-test
"false"
x-sapo-topic
"customers/update"
x-sapo-webhook-address
"https://test.noibo.the350f.com/api/sapo-webhook/receive"

Request Content

Raw

{"id":538943575,"tenant_id":737184,"default_location_id":null,"created_on":"2024-09-23T08:41:42Z","modified_on":"2024-09-23T08:41:42Z","code":"CUZN139047","name":"A BẢO","dob":null,"sex":"other","description":null,"email":null,"fax":null,"phone_number":"0915665030","tax_number":null,"website":null,"customer_group_id":2854104,"group_name":"Bán lẻ","assignee_id":1050107,"default_payment_term_id":null,"default_payment_method_id":null,"default_tax_type_id":null,"default_discount_rate":null,"default_price_list_id":null,"tags":[],"addresses":[{"id":805163716,"created_on":"2025-12-06T12:09:25Z","modified_on":"2025-12-06T12:09:25Z","country":"Việt Nam","city":"Hồ Chí Minh","district":"Phường Vườn Lài","ward":"Phường Vườn Lài","address1":"392 Đường Ngô Gia Tự","address2":null,"zip_code":"","email":"","first_name":null,"last_name":null,"full_name":"Hoàng Quốc Bảo","label":null,"phone_number":"0915665030","status":"active"}],"contacts":[],"notes":[],"status":"active","is_default":false,"debt":0.0000}

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Sat, 06 Dec 2025 12:09:25 GMT"
x-debug-token
"9524cc"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"4750cff62f6eba6e302b339523723cd3"
DATABASE_SERVER_VERSION
"8"
DATABASE_URL
"mysql://root:S6c-66Sj@127.0.0.1:3306/hethongnoibo?serverVersion=8.0&charset=utf8mb4"
MAILER_DSN
"null://null"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
SAPO_API2_ACCESS_TOKEN
"dd951eb59c814a6d9b78734ebbf4d3a0"
SAPO_API2_BASE_URL
"https://the-350f.mysapogo.com"
SAPO_API2_CLIENT_ID
"4c43fac2e51a4457ab6a141f1619a0ee"
SAPO_API2_CLIENT_SECRET
"ad8b74b78c81449488ccd3b550963243"
SAPO_API2_CODE
"f1ca93b14c65461390b9369115e2ffe9"
SAPO_API2_SESSION_ID
"08cbe458-b659-0a01-3512-ee85fdd8ea51"
SAPO_API2_TENANT
"the-350f.mysapogo.com"
SAPO_API_ACCESS_TOKEN
"ad8b74b78c81449488ccd3b550963243"
SAPO_API_BASE_URL
"https://the350f-ch.mysapogo.com"
SAPO_API_CLIENT_ID
"d78daee704454140bb1ab84d34ca561e"
SAPO_API_CLIENT_SECRET
"b882a4b7dc1541e88acab85bdd531f83"
SAPO_API_CODE
"4c43fac2e51a4457ab6a141f1619a0ee"
SAPO_API_SESSION_ID
"1cd17172-54d3-2329-3d6d-69740f56e47e"
SAPO_API_TENANT
"the-350f.mysapogo.com"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"1040"
CONTENT_TYPE
"application/json; charset=utf-8"
DOCUMENT_ROOT
"/opt/The350F_HeThongNoiBo/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip;q=1.0,deflate;q=0.6,identity;q=0.3"
HTTP_CONNECTION
"Keep-Alive"
HTTP_CONTENT_LENGTH
"1040"
HTTP_CONTENT_TYPE
"application/json; charset=utf-8"
HTTP_HOST
"test.noibo.the350f.com"
HTTP_USER_AGENT
"JVM"
HTTP_X_EVENT_VERSION
"5281859450"
HTTP_X_SAPO_CUSTOMER_ID
"538943575"
HTTP_X_SAPO_HMAC_SHA256
"0OciixPWbcwh3Cx05/EBUBoJqsZovBNsZQSC60pEMLg="
HTTP_X_SAPO_OBJECT_ID
"538943575"
HTTP_X_SAPO_TENANT_DOMAIN
"the-350f.mysapogo.com"
HTTP_X_SAPO_TEST
"false"
HTTP_X_SAPO_TOPIC
"customers/update"
HTTP_X_SAPO_WEBHOOK_ADDRESS
"https://test.noibo.the350f.com/api/sapo-webhook/receive"
PATH_INFO
""
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"42.113.206.190"
REMOTE_PORT
"34706"
REMOTE_USER
""
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1765022965
REQUEST_TIME_FLOAT
1765022965.2109
REQUEST_URI
"/api/sapo-webhook/receive"
SCRIPT_FILENAME
"/opt/The350F_HeThongNoiBo/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"103.200.22.135"
SERVER_NAME
"test.noibo.the350f.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.24.0"
SYMFONY_DOTENV_PATH
"/opt/The350F_HeThongNoiBo/.env"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL,DATABASE_SERVER_VERSION,MESSENGER_TRANSPORT_DSN,MAILER_DSN,SAPO_API_BASE_URL,SAPO_API_SESSION_ID,SAPO_API_TENANT,SAPO_API_CLIENT_ID,SAPO_API_CLIENT_SECRET,SAPO_API_CODE,SAPO_API_ACCESS_TOKEN,SAPO_API2_BASE_URL,SAPO_API2_SESSION_ID,SAPO_API2_TENANT,SAPO_API2_CLIENT_ID,SAPO_API2_CLIENT_SECRET,SAPO_API2_CODE,SAPO_API2_ACCESS_TOKEN"
USER
"www-data"