/store-customers-post-one¶
Summary¶
Source repository:
jef-systems/jef-store-backendSource SHA:
db30c43afdd1f6d3c445eb63c29f917771b95c97Source run id:
29187149032Lambda function:
jef-store-post-005HTTP method:
POSTAPI path:
/store-customers-post-oneCloudflare path:
/store/async-post/store-customers-post-oneEndpoint URL:
https://api.jefoffice.com/store/async-post/store-customers-post-oneCloudflare base URL:
https://api.jefoffice.com/store/async-postCloudflare parent path:
/storeCloudflare scope:
async-postCloudflare scope path:
/store/async-postCloudflare mode:
one-worker-for-lambda-async-postCloudflare Worker:
jef-store-lambda-async-postCloudflare Worker route:
api.jefoffice.com/store/async-post/\*Payload mode:
json-body
Description¶
|
jef-store-post-005 Logical ID: jef-store:jef-store-customers:post-one Order Number: 005 |
|
jef-store |
|
post-one |
|
POST |
|
ASYNC |
|
/store-customers-post-one Endpoint Name: jef-store-customers-post-one |
|
jef-store-customers |
|
customer_number |
API Gateway Response¶
|
202 |
|
Request accepted for asynchronous processing. |
Payload Example¶
|
5f14fff1-a7ca-4c57-ae66-1412f6325bc0 |
|
53629daf-bca8-4a7b-84c2-11d14c465e17 |
|
Sample Name |
|
value-001 |
|
value-001 |
|
value-001 |
|
value-001 |
|
value-001 |
|
value-001 |
|
value-001 |
|
value-001 |
|
value-001 |
|
True |
|
True |
|
2026-07-12T09:14:12Z |
|
2026-07-12T09:14:12Z |
|
2026-07-12T09:14:12Z |
|
value-001 |
|
1 |
|
1 |
Payload Schema¶
{
"type": "object",
"additionalProperties": "False",
"payload_mode": "flat",
"allow_children_wrapper": "False",
"children_wrapper_field": "",
"allow_batch": "False",
"table": "jef-store-customers",
"primary_key": "customer_number",
"required[0]": "entity_number",
"required[1]": "customer_name",
"required[2]": "phone",
"required[3]": "email",
"required[4]": "address_label",
"required[5]": "address_line_1",
"required[6]": "barangay",
"required[7]": "city",
"required[8]": "province",
"required[9]": "postal_code",
"required[10]": "notes",
"required[11]": "is_deleted",
"required[12]": "deleted_at",
"required[13]": "idempotency_key",
"required[14]": "schema_version",
"required[15]": "version",
"properties.entity_number.field": "entity_number",
"properties.entity_number.type": "S",
"properties.entity_number.required": "True",
"properties.entity_number.source_required": "True",
"properties.entity_number.server_generated": "True",
"properties.entity_number.autogenerated": "False",
"properties.entity_number.frontend_autocomputed": "False",
"properties.entity_number.format": "uuidv4",
"properties.entity_number.regex": "^[1-9a-fA-F][0-9a-fA-F]{7}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"properties.customer_number.field": "customer_number",
"properties.customer_number.type": "S",
"properties.customer_number.required": "False",
"properties.customer_number.source_required": "True",
"properties.customer_number.server_generated": "True",
"properties.customer_number.autogenerated": "False",
"properties.customer_number.frontend_autocomputed": "False",
"properties.customer_number.format": "uuidv4",
"properties.customer_number.regex": "^[1-9a-fA-F][0-9a-fA-F]{7}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"properties.customer_name.field": "customer_name",
"properties.customer_name.type": "S",
"properties.customer_name.required": "True",
"properties.customer_name.source_required": "True",
"properties.customer_name.server_generated": "False",
"properties.customer_name.autogenerated": "False",
"properties.customer_name.frontend_autocomputed": "False",
"properties.customer_name.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"properties.phone.field": "phone",
"properties.phone.type": "S",
"properties.phone.required": "True",
"properties.phone.source_required": "True",
"properties.phone.server_generated": "False",
"properties.phone.autogenerated": "False",
"properties.phone.frontend_autocomputed": "False",
"properties.phone.regex": "^[0-9+() .-]{0,30}$",
"properties.email.field": "email",
"properties.email.type": "S",
"properties.email.required": "True",
"properties.email.source_required": "True",
"properties.email.server_generated": "False",
"properties.email.autogenerated": "False",
"properties.email.frontend_autocomputed": "False",
"properties.email.regex": "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$",
"properties.address_label.field": "address_label",
"properties.address_label.type": "S",
"properties.address_label.required": "True",
"properties.address_label.source_required": "True",
"properties.address_label.server_generated": "False",
"properties.address_label.autogenerated": "False",
"properties.address_label.frontend_autocomputed": "False",
"properties.address_label.regex": "^.{0,500}$",
"properties.address_line_1.field": "address_line_1",
"properties.address_line_1.type": "S",
"properties.address_line_1.required": "True",
"properties.address_line_1.source_required": "True",
"properties.address_line_1.server_generated": "False",
"properties.address_line_1.autogenerated": "False",
"properties.address_line_1.frontend_autocomputed": "False",
"properties.address_line_1.regex": "^.{0,500}$",
"properties.barangay.field": "barangay",
"properties.barangay.type": "S",
"properties.barangay.required": "True",
"properties.barangay.source_required": "True",
"properties.barangay.server_generated": "False",
"properties.barangay.autogenerated": "False",
"properties.barangay.frontend_autocomputed": "False",
"properties.barangay.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"properties.city.field": "city",
"properties.city.type": "S",
"properties.city.required": "True",
"properties.city.source_required": "True",
"properties.city.server_generated": "False",
"properties.city.autogenerated": "False",
"properties.city.frontend_autocomputed": "False",
"properties.city.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"properties.province.field": "province",
"properties.province.type": "S",
"properties.province.required": "True",
"properties.province.source_required": "True",
"properties.province.server_generated": "False",
"properties.province.autogenerated": "False",
"properties.province.frontend_autocomputed": "False",
"properties.province.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"properties.postal_code.field": "postal_code",
"properties.postal_code.type": "S",
"properties.postal_code.required": "True",
"properties.postal_code.source_required": "True",
"properties.postal_code.server_generated": "False",
"properties.postal_code.autogenerated": "False",
"properties.postal_code.frontend_autocomputed": "False",
"properties.postal_code.regex": "^[A-Za-z0-9 -]{0,20}$",
"properties.notes.field": "notes",
"properties.notes.type": "S",
"properties.notes.required": "True",
"properties.notes.source_required": "True",
"properties.notes.server_generated": "False",
"properties.notes.autogenerated": "False",
"properties.notes.frontend_autocomputed": "False",
"properties.notes.regex": "^.{0,500}$",
"properties.is_active.field": "is_active",
"properties.is_active.type": "BOOL",
"properties.is_active.required": "False",
"properties.is_active.source_required": "True",
"properties.is_active.server_generated": "True",
"properties.is_active.autogenerated": "False",
"properties.is_active.frontend_autocomputed": "False",
"properties.is_active.regex": "^(true|false)$",
"properties.is_deleted.field": "is_deleted",
"properties.is_deleted.type": "BOOL",
"properties.is_deleted.required": "True",
"properties.is_deleted.source_required": "True",
"properties.is_deleted.server_generated": "True",
"properties.is_deleted.autogenerated": "False",
"properties.is_deleted.frontend_autocomputed": "False",
"properties.is_deleted.regex": "^(true|false)$",
"properties.deleted_at.field": "deleted_at",
"properties.deleted_at.type": "S",
"properties.deleted_at.required": "True",
"properties.deleted_at.source_required": "True",
"properties.deleted_at.server_generated": "True",
"properties.deleted_at.autogenerated": "False",
"properties.deleted_at.frontend_autocomputed": "False",
"properties.deleted_at.format": "iso8601",
"properties.deleted_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"properties.created.field": "created",
"properties.created.type": "S",
"properties.created.required": "False",
"properties.created.source_required": "True",
"properties.created.server_generated": "True",
"properties.created.autogenerated": "False",
"properties.created.frontend_autocomputed": "False",
"properties.created.format": "iso8601",
"properties.created.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"properties.updated.field": "updated",
"properties.updated.type": "S",
"properties.updated.required": "False",
"properties.updated.source_required": "True",
"properties.updated.server_generated": "True",
"properties.updated.autogenerated": "False",
"properties.updated.frontend_autocomputed": "False",
"properties.updated.format": "iso8601",
"properties.updated.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"properties.idempotency_key.field": "idempotency_key",
"properties.idempotency_key.type": "S",
"properties.idempotency_key.required": "True",
"properties.idempotency_key.source_required": "True",
"properties.idempotency_key.server_generated": "True",
"properties.idempotency_key.autogenerated": "False",
"properties.idempotency_key.frontend_autocomputed": "False",
"properties.idempotency_key.regex": "^.{1,300}$",
"properties.schema_version.field": "schema_version",
"properties.schema_version.type": "N",
"properties.schema_version.required": "True",
"properties.schema_version.source_required": "True",
"properties.schema_version.server_generated": "False",
"properties.schema_version.autogenerated": "False",
"properties.schema_version.frontend_autocomputed": "False",
"properties.schema_version.regex": "^\\d+$",
"properties.version.field": "version",
"properties.version.type": "N",
"properties.version.required": "True",
"properties.version.source_required": "True",
"properties.version.server_generated": "False",
"properties.version.autogenerated": "False",
"properties.version.frontend_autocomputed": "False",
"properties.version.regex": "^\\d+$",
"children": "[]",
"root.type": "object",
"root.attributes.entity_number.field": "entity_number",
"root.attributes.entity_number.type": "S",
"root.attributes.entity_number.required": "True",
"root.attributes.entity_number.source_required": "True",
"root.attributes.entity_number.server_generated": "True",
"root.attributes.entity_number.autogenerated": "False",
"root.attributes.entity_number.frontend_autocomputed": "False",
"root.attributes.entity_number.format": "uuidv4",
"root.attributes.entity_number.regex": "^[1-9a-fA-F][0-9a-fA-F]{7}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"root.attributes.customer_number.field": "customer_number",
"root.attributes.customer_number.type": "S",
"root.attributes.customer_number.required": "False",
"root.attributes.customer_number.source_required": "True",
"root.attributes.customer_number.server_generated": "True",
"root.attributes.customer_number.autogenerated": "False",
"root.attributes.customer_number.frontend_autocomputed": "False",
"root.attributes.customer_number.format": "uuidv4",
"root.attributes.customer_number.regex": "^[1-9a-fA-F][0-9a-fA-F]{7}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
"root.attributes.customer_name.field": "customer_name",
"root.attributes.customer_name.type": "S",
"root.attributes.customer_name.required": "True",
"root.attributes.customer_name.source_required": "True",
"root.attributes.customer_name.server_generated": "False",
"root.attributes.customer_name.autogenerated": "False",
"root.attributes.customer_name.frontend_autocomputed": "False",
"root.attributes.customer_name.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"root.attributes.phone.field": "phone",
"root.attributes.phone.type": "S",
"root.attributes.phone.required": "True",
"root.attributes.phone.source_required": "True",
"root.attributes.phone.server_generated": "False",
"root.attributes.phone.autogenerated": "False",
"root.attributes.phone.frontend_autocomputed": "False",
"root.attributes.phone.regex": "^[0-9+() .-]{0,30}$",
"root.attributes.email.field": "email",
"root.attributes.email.type": "S",
"root.attributes.email.required": "True",
"root.attributes.email.source_required": "True",
"root.attributes.email.server_generated": "False",
"root.attributes.email.autogenerated": "False",
"root.attributes.email.frontend_autocomputed": "False",
"root.attributes.email.regex": "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$",
"root.attributes.address_label.field": "address_label",
"root.attributes.address_label.type": "S",
"root.attributes.address_label.required": "True",
"root.attributes.address_label.source_required": "True",
"root.attributes.address_label.server_generated": "False",
"root.attributes.address_label.autogenerated": "False",
"root.attributes.address_label.frontend_autocomputed": "False",
"root.attributes.address_label.regex": "^.{0,500}$",
"root.attributes.address_line_1.field": "address_line_1",
"root.attributes.address_line_1.type": "S",
"root.attributes.address_line_1.required": "True",
"root.attributes.address_line_1.source_required": "True",
"root.attributes.address_line_1.server_generated": "False",
"root.attributes.address_line_1.autogenerated": "False",
"root.attributes.address_line_1.frontend_autocomputed": "False",
"root.attributes.address_line_1.regex": "^.{0,500}$",
"root.attributes.barangay.field": "barangay",
"root.attributes.barangay.type": "S",
"root.attributes.barangay.required": "True",
"root.attributes.barangay.source_required": "True",
"root.attributes.barangay.server_generated": "False",
"root.attributes.barangay.autogenerated": "False",
"root.attributes.barangay.frontend_autocomputed": "False",
"root.attributes.barangay.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"root.attributes.city.field": "city",
"root.attributes.city.type": "S",
"root.attributes.city.required": "True",
"root.attributes.city.source_required": "True",
"root.attributes.city.server_generated": "False",
"root.attributes.city.autogenerated": "False",
"root.attributes.city.frontend_autocomputed": "False",
"root.attributes.city.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"root.attributes.province.field": "province",
"root.attributes.province.type": "S",
"root.attributes.province.required": "True",
"root.attributes.province.source_required": "True",
"root.attributes.province.server_generated": "False",
"root.attributes.province.autogenerated": "False",
"root.attributes.province.frontend_autocomputed": "False",
"root.attributes.province.regex": "^[A-Za-z0-9 ._-]{1,100}$",
"root.attributes.postal_code.field": "postal_code",
"root.attributes.postal_code.type": "S",
"root.attributes.postal_code.required": "True",
"root.attributes.postal_code.source_required": "True",
"root.attributes.postal_code.server_generated": "False",
"root.attributes.postal_code.autogenerated": "False",
"root.attributes.postal_code.frontend_autocomputed": "False",
"root.attributes.postal_code.regex": "^[A-Za-z0-9 -]{0,20}$",
"root.attributes.notes.field": "notes",
"root.attributes.notes.type": "S",
"root.attributes.notes.required": "True",
"root.attributes.notes.source_required": "True",
"root.attributes.notes.server_generated": "False",
"root.attributes.notes.autogenerated": "False",
"root.attributes.notes.frontend_autocomputed": "False",
"root.attributes.notes.regex": "^.{0,500}$",
"root.attributes.is_active.field": "is_active",
"root.attributes.is_active.type": "BOOL",
"root.attributes.is_active.required": "False",
"root.attributes.is_active.source_required": "True",
"root.attributes.is_active.server_generated": "True",
"root.attributes.is_active.autogenerated": "False",
"root.attributes.is_active.frontend_autocomputed": "False",
"root.attributes.is_active.regex": "^(true|false)$",
"root.attributes.is_deleted.field": "is_deleted",
"root.attributes.is_deleted.type": "BOOL",
"root.attributes.is_deleted.required": "True",
"root.attributes.is_deleted.source_required": "True",
"root.attributes.is_deleted.server_generated": "True",
"root.attributes.is_deleted.autogenerated": "False",
"root.attributes.is_deleted.frontend_autocomputed": "False",
"root.attributes.is_deleted.regex": "^(true|false)$",
"root.attributes.deleted_at.field": "deleted_at",
"root.attributes.deleted_at.type": "S",
"root.attributes.deleted_at.required": "True",
"root.attributes.deleted_at.source_required": "True",
"root.attributes.deleted_at.server_generated": "True",
"root.attributes.deleted_at.autogenerated": "False",
"root.attributes.deleted_at.frontend_autocomputed": "False",
"root.attributes.deleted_at.format": "iso8601",
"root.attributes.deleted_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.created.field": "created",
"root.attributes.created.type": "S",
"root.attributes.created.required": "False",
"root.attributes.created.source_required": "True",
"root.attributes.created.server_generated": "True",
"root.attributes.created.autogenerated": "False",
"root.attributes.created.frontend_autocomputed": "False",
"root.attributes.created.format": "iso8601",
"root.attributes.created.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.updated.field": "updated",
"root.attributes.updated.type": "S",
"root.attributes.updated.required": "False",
"root.attributes.updated.source_required": "True",
"root.attributes.updated.server_generated": "True",
"root.attributes.updated.autogenerated": "False",
"root.attributes.updated.frontend_autocomputed": "False",
"root.attributes.updated.format": "iso8601",
"root.attributes.updated.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.idempotency_key.field": "idempotency_key",
"root.attributes.idempotency_key.type": "S",
"root.attributes.idempotency_key.required": "True",
"root.attributes.idempotency_key.source_required": "True",
"root.attributes.idempotency_key.server_generated": "True",
"root.attributes.idempotency_key.autogenerated": "False",
"root.attributes.idempotency_key.frontend_autocomputed": "False",
"root.attributes.idempotency_key.regex": "^.{1,300}$",
"root.attributes.schema_version.field": "schema_version",
"root.attributes.schema_version.type": "N",
"root.attributes.schema_version.required": "True",
"root.attributes.schema_version.source_required": "True",
"root.attributes.schema_version.server_generated": "False",
"root.attributes.schema_version.autogenerated": "False",
"root.attributes.schema_version.frontend_autocomputed": "False",
"root.attributes.schema_version.regex": "^\\d+$",
"root.attributes.version.field": "version",
"root.attributes.version.type": "N",
"root.attributes.version.required": "True",
"root.attributes.version.source_required": "True",
"root.attributes.version.server_generated": "False",
"root.attributes.version.autogenerated": "False",
"root.attributes.version.frontend_autocomputed": "False",
"root.attributes.version.regex": "^\\d+$"
}
Response Schema¶
{
"type": "object",
"properties.ok.type": "boolean",
"properties.accepted.type": "boolean",
"properties.is_committed.type": "boolean",
"properties.request_id.type": "string",
"properties.message.type": "string",
"properties.table.type": "string",
"properties.operation.type": "string",
"properties.primary_key.type": "string",
"properties.primary_key_value.type": "string",
"properties.item_write_count.type": "number",
"properties.child_write_count.type": "number"
}
Request Payload¶
{
"entity_number": "5f14fff1-a7ca-4c57-ae66-1412f6325bc0",
"customer_number": "53629daf-bca8-4a7b-84c2-11d14c465e17",
"customer_name": "Sample Name",
"phone": "value-001",
"email": "value-001",
"address_label": "value-001",
"address_line_1": "value-001",
"barangay": "value-001",
"city": "value-001",
"province": "value-001",
"postal_code": "value-001",
"notes": "value-001",
"is_active": "True",
"is_deleted": "True",
"deleted_at": "2026-07-12T09:14:12Z",
"created": "2026-07-12T09:14:12Z",
"updated": "2026-07-12T09:14:12Z",
"idempotency_key": "value-001",
"schema_version": "1",
"version": "1"
}
Response¶
{
"type": "object",
"properties.ok.type": "boolean",
"properties.accepted.type": "boolean",
"properties.is_committed.type": "boolean",
"properties.request_id.type": "string",
"properties.message.type": "string",
"properties.table.type": "string",
"properties.operation.type": "string",
"properties.primary_key.type": "string",
"properties.primary_key_value.type": "string",
"properties.item_write_count.type": "number",
"properties.child_write_count.type": "number"
}
CMD curl¶
curl -X POST "https://api.jefoffice.com/store/async-post/store-customers-post-one" -H "Content-Type: application/json" --data-raw "{\"entity_number\": \"5f14fff1-a7ca-4c57-ae66-1412f6325bc0\", \"customer_number\": \"53629daf-bca8-4a7b-84c2-11d14c465e17\", \"customer_name\": \"Sample Name\", \"phone\": \"value-001\", \"email\": \"value-001\", \"address_label\": \"value-001\", \"address_line_1\": \"value-001\", \"barangay\": \"value-001\", \"city\": \"value-001\", \"province\": \"value-001\", \"postal_code\": \"value-001\", \"notes\": \"value-001\", \"is_active\": true, \"is_deleted\": true, \"deleted_at\": \"2026-07-12T09:14:12Z\", \"created\": \"2026-07-12T09:14:12Z\", \"updated\": \"2026-07-12T09:14:12Z\", \"idempotency_key\": \"value-001\", \"schema_version\": 1, \"version\": 1}"
PowerShell curl¶
curl.exe -X POST "https://api.jefoffice.com/store/async-post/store-customers-post-one" -H "Content-Type: application/json" --data-raw '{"entity_number": "5f14fff1-a7ca-4c57-ae66-1412f6325bc0", "customer_number": "53629daf-bca8-4a7b-84c2-11d14c465e17", "customer_name": "Sample Name", "phone": "value-001", "email": "value-001", "address_label": "value-001", "address_line_1": "value-001", "barangay": "value-001", "city": "value-001", "province": "value-001", "postal_code": "value-001", "notes": "value-001", "is_active": true, "is_deleted": true, "deleted_at": "2026-07-12T09:14:12Z", "created": "2026-07-12T09:14:12Z", "updated": "2026-07-12T09:14:12Z", "idempotency_key": "value-001", "schema_version": 1, "version": 1}'