/hardware-stores-patch-one¶
Summary¶
Source repository:
jef-systems/jef-hardware-backendSource SHA:
da55214e1c0cdc1f340e0eaca147285c336498ddSource run id:
25890117162Lambda function:
jef-hardware-stores-patch-oneHTTP method:
PATCHAPI path:
/hardware-stores-patch-oneEndpoint URL:
https://5g667fp458.execute-api.ap-southeast-1.amazonaws.com/prod/hardware-stores-patch-onePayload mode:
json-body
Description¶
Function: jef-hardware-stores-patch-oneModule: jef-hardwareAction: patch-oneMethod: PATCHInvocation Mode: ASYNCResource Path: /hardware-stores-patch-oneTable: jef-hardware-storesPrimary Key: store_id
API Gateway Response¶
status\_code: 202message: Request accepted for asynchronous processing.
Payload Example¶
store\_id: f80b79c4-749b-4b6f-a851-d53715181f63entity\_number: 1store\_code: 1store\_name: 1branch\_name: 1receipt\_name: 1address: 1contact\_number: 1tin\_number: 1permit\_to\_use\_number: 1receipt\_footer\_message: 1receipt\_paper\_width: 1receipt\_characters\_per\_line: 1created\_at: 2026-05-14T22:43:20Zupdated\_at: 2026-05-14T22:43:20Zis\_active: Trueis\_deleted: Truedeleted\_at: 2026-05-14T22:43:20Zidempotency\_key: 1schema\_version: 1version: 1children.customers\[0\].customer\_id: 15abe94d-fa56-4642-8193-4351c8033a00children.customers\[0\].store\_id: f80b79c4-749b-4b6f-a851-d53715181f63children.customers\[0\].entity\_number: 1children.customers\[0\].customer\_name: 1children.customers\[0\].contact\_number: 1children.customers\[0\].email: sample001@example.comchildren.customers\[0\].address: 1children.customers\[0\].government\_id\_type: 1children.customers\[0\].government\_id\_number: 1children.customers\[0\].created\_at: 2026-05-14T22:43:20Zchildren.customers\[0\].updated\_at: 2026-05-14T22:43:20Zchildren.customers\[0\].is\_active: Truechildren.customers\[0\].is\_deleted: Truechildren.customers\[0\].deleted\_at: 2026-05-14T22:43:20Zchildren.customers\[0\].idempotency\_key: 1children.customers\[0\].schema\_version: 1children.customers\[0\].version: 1children.rentals\[0\].rental\_id: 7543eb36-edad-46bd-84ae-0268f57a07fbchildren.rentals\[0\].store\_id: f80b79c4-749b-4b6f-a851-d53715181f63children.rentals\[0\].entity\_number: 1children.rentals\[0\].order\_number: 1children.rentals\[0\].cashier\_name: 1children.rentals\[0\].terminal\_name: 1children.rentals\[0\].customer\_id: 15abe94d-fa56-4642-8193-4351c8033a00children.rentals\[0\].customer\_code: 1children.rentals\[0\].customer\_name: 1children.rentals\[0\].customer\_mobile\_number: 1children.rentals\[0\].customer\_address: 1children.rentals\[0\].customer\_government\_id\_type: 1children.rentals\[0\].customer\_government\_id\_number: 1children.rentals\[0\].deposit: 1children.rentals\[0\].gross\_total: 1children.rentals\[0\].total\_due: 1children.rentals\[0\].expected\_return\_at: 2026-05-14T22:43:20Zchildren.rentals\[0\].rental\_status: 1children.rentals\[0\].print\_status: 1children.rentals\[0\].printed\_at: 2026-05-14T22:43:20Zchildren.rentals\[0\].printer\_device\_id: 1children.rentals\[0\].printer\_device\_name: 1children.rentals\[0\].sync\_status: 1children.rentals\[0\].sync\_attempt\_count: 1children.rentals\[0\].created\_at: 2026-05-14T22:43:20Zchildren.rentals\[0\].updated\_at: 2026-05-14T22:43:20Zchildren.rentals\[0\].is\_active: Truechildren.rentals\[0\].is\_deleted: Truechildren.rentals\[0\].deleted\_at: 2026-05-14T22:43:20Zchildren.rentals\[0\].idempotency\_key: 1children.rentals\[0\].schema\_version: 1children.rentals\[0\].version: 1children.toolboxes\[0\].toolbox\_id: ccb00721-6479-4c14-be47-c021b95aa31achildren.toolboxes\[0\].store\_id: f80b79c4-749b-4b6f-a851-d53715181f63children.toolboxes\[0\].entity\_number: 1children.toolboxes\[0\].toolbox\_number: 1children.toolboxes\[0\].toolbox\_code: 1children.toolboxes\[0\].toolbox\_name: 1children.toolboxes\[0\].equipment\_name: 1children.toolboxes\[0\].category: 1children.toolboxes\[0\].daily\_rate: 1children.toolboxes\[0\].status: 1children.toolboxes\[0\].created\_at: 2026-05-14T22:43:20Zchildren.toolboxes\[0\].updated\_at: 2026-05-14T22:43:20Zchildren.toolboxes\[0\].is\_active: Truechildren.toolboxes\[0\].is\_deleted: Truechildren.toolboxes\[0\].deleted\_at: 2026-05-14T22:43:20Zchildren.toolboxes\[0\].idempotency\_key: 1children.toolboxes\[0\].schema\_version: 1children.toolboxes\[0\].version: 1
Payload Schema¶
{
"root.type": "M",
"root.required": "True",
"root.attributes.store_id.type": "S",
"root.attributes.store_id.required": "True",
"root.attributes.store_id.format": "uuidv4",
"root.attributes.store_id.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.entity_number.type": "S",
"root.attributes.entity_number.required": "False",
"root.attributes.entity_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.store_code.type": "S",
"root.attributes.store_code.required": "False",
"root.attributes.store_code.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.store_name.type": "S",
"root.attributes.store_name.required": "False",
"root.attributes.store_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
"root.attributes.branch_name.type": "S",
"root.attributes.branch_name.required": "False",
"root.attributes.branch_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
"root.attributes.receipt_name.type": "S",
"root.attributes.receipt_name.required": "False",
"root.attributes.receipt_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
"root.attributes.address.type": "S",
"root.attributes.address.required": "False",
"root.attributes.address.regex": "^.{1,300}$",
"root.attributes.contact_number.type": "S",
"root.attributes.contact_number.required": "False",
"root.attributes.contact_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.tin_number.type": "S",
"root.attributes.tin_number.required": "False",
"root.attributes.tin_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.permit_to_use_number.type": "S",
"root.attributes.permit_to_use_number.required": "False",
"root.attributes.permit_to_use_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.receipt_footer_message.type": "S",
"root.attributes.receipt_footer_message.required": "False",
"root.attributes.receipt_footer_message.regex": "^.{0,500}$",
"root.attributes.receipt_paper_width.type": "S",
"root.attributes.receipt_paper_width.required": "False",
"root.attributes.receipt_paper_width.regex": "^[A-Za-z0-9 ._-]{1,80}$",
"root.attributes.receipt_characters_per_line.type": "N",
"root.attributes.receipt_characters_per_line.required": "False",
"root.attributes.receipt_characters_per_line.regex": "^\\d+$",
"root.attributes.created_at.type": "S",
"root.attributes.created_at.required": "False",
"root.attributes.created_at.format": "iso8601",
"root.attributes.created_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.updated_at.type": "S",
"root.attributes.updated_at.required": "False",
"root.attributes.updated_at.format": "iso8601",
"root.attributes.updated_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.is_active.type": "BOOL",
"root.attributes.is_active.required": "False",
"root.attributes.is_active.regex": "^(true|false)$",
"root.attributes.is_deleted.type": "BOOL",
"root.attributes.is_deleted.required": "False",
"root.attributes.is_deleted.regex": "^(true|false)$",
"root.attributes.deleted_at.type": "S",
"root.attributes.deleted_at.required": "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.idempotency_key.type": "S",
"root.attributes.idempotency_key.required": "False",
"root.attributes.idempotency_key.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.schema_version.type": "N",
"root.attributes.schema_version.required": "False",
"root.attributes.schema_version.regex": "^\\d+$",
"root.attributes.version.type": "N",
"root.attributes.version.required": "False",
"root.attributes.version.regex": "^\\d+$",
"root.attributes.children.type": "M",
"root.attributes.children.required": "False",
"root.attributes.children.attributes.customers.type": "L",
"root.attributes.children.attributes.customers.required": "False",
"root.attributes.children.attributes.customers.items.type": "M",
"root.attributes.children.attributes.customers.items.attributes.customer_id.type": "S",
"root.attributes.children.attributes.customers.items.attributes.customer_id.required": "True",
"root.attributes.children.attributes.customers.items.attributes.customer_id.format": "uuidv4",
"root.attributes.children.attributes.customers.items.attributes.customer_id.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.children.attributes.customers.items.attributes.store_id.type": "S",
"root.attributes.children.attributes.customers.items.attributes.store_id.required": "False",
"root.attributes.children.attributes.customers.items.attributes.store_id.format": "uuidv4",
"root.attributes.children.attributes.customers.items.attributes.store_id.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.children.attributes.customers.items.attributes.entity_number.type": "S",
"root.attributes.children.attributes.customers.items.attributes.entity_number.required": "False",
"root.attributes.children.attributes.customers.items.attributes.entity_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.customers.items.attributes.customer_name.type": "S",
"root.attributes.children.attributes.customers.items.attributes.customer_name.required": "False",
"root.attributes.children.attributes.customers.items.attributes.customer_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
"root.attributes.children.attributes.customers.items.attributes.contact_number.type": "S",
"root.attributes.children.attributes.customers.items.attributes.contact_number.required": "False",
"root.attributes.children.attributes.customers.items.attributes.contact_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.customers.items.attributes.email.type": "S",
"root.attributes.children.attributes.customers.items.attributes.email.required": "False",
"root.attributes.children.attributes.customers.items.attributes.email.regex": "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$",
"root.attributes.children.attributes.customers.items.attributes.address.type": "S",
"root.attributes.children.attributes.customers.items.attributes.address.required": "False",
"root.attributes.children.attributes.customers.items.attributes.address.regex": "^.{1,300}$",
"root.attributes.children.attributes.customers.items.attributes.government_id_type.type": "S",
"root.attributes.children.attributes.customers.items.attributes.government_id_type.required": "False",
"root.attributes.children.attributes.customers.items.attributes.government_id_type.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.customers.items.attributes.government_id_number.type": "S",
"root.attributes.children.attributes.customers.items.attributes.government_id_number.required": "False",
"root.attributes.children.attributes.customers.items.attributes.government_id_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.customers.items.attributes.created_at.type": "S",
"root.attributes.children.attributes.customers.items.attributes.created_at.required": "False",
"root.attributes.children.attributes.customers.items.attributes.created_at.format": "iso8601",
"root.attributes.children.attributes.customers.items.attributes.created_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.children.attributes.customers.items.attributes.updated_at.type": "S",
"root.attributes.children.attributes.customers.items.attributes.updated_at.required": "False",
"root.attributes.children.attributes.customers.items.attributes.updated_at.format": "iso8601",
"root.attributes.children.attributes.customers.items.attributes.updated_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.children.attributes.customers.items.attributes.is_active.type": "BOOL",
"root.attributes.children.attributes.customers.items.attributes.is_active.required": "False",
"root.attributes.children.attributes.customers.items.attributes.is_active.regex": "^(true|false)$",
"root.attributes.children.attributes.customers.items.attributes.is_deleted.type": "BOOL",
"root.attributes.children.attributes.customers.items.attributes.is_deleted.required": "False",
"root.attributes.children.attributes.customers.items.attributes.is_deleted.regex": "^(true|false)$",
"root.attributes.children.attributes.customers.items.attributes.deleted_at.type": "S",
"root.attributes.children.attributes.customers.items.attributes.deleted_at.required": "False",
"root.attributes.children.attributes.customers.items.attributes.deleted_at.format": "iso8601",
"root.attributes.children.attributes.customers.items.attributes.deleted_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.children.attributes.customers.items.attributes.idempotency_key.type": "S",
"root.attributes.children.attributes.customers.items.attributes.idempotency_key.required": "False",
"root.attributes.children.attributes.customers.items.attributes.idempotency_key.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.customers.items.attributes.schema_version.type": "N",
"root.attributes.children.attributes.customers.items.attributes.schema_version.required": "False",
"root.attributes.children.attributes.customers.items.attributes.schema_version.regex": "^\\d+$",
"root.attributes.children.attributes.customers.items.attributes.version.type": "N",
"root.attributes.children.attributes.customers.items.attributes.version.required": "False",
"root.attributes.children.attributes.customers.items.attributes.version.regex": "^\\d+$",
"root.attributes.children.attributes.rentals.type": "L",
"root.attributes.children.attributes.rentals.required": "False",
"root.attributes.children.attributes.rentals.items.type": "M",
"root.attributes.children.attributes.rentals.items.attributes.rental_id.type": "S",
"root.attributes.children.attributes.rentals.items.attributes.rental_id.required": "True",
"root.attributes.children.attributes.rentals.items.attributes.rental_id.format": "uuidv4",
"root.attributes.children.attributes.rentals.items.attributes.rental_id.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.children.attributes.rentals.items.attributes.store_id.type": "S",
"root.attributes.children.attributes.rentals.items.attributes.store_id.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.store_id.format": "uuidv4",
"root.attributes.children.attributes.rentals.items.attributes.store_id.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.children.attributes.rentals.items.attributes.entity_number.type": "S",
"root.attributes.children.attributes.rentals.items.attributes.entity_number.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.entity_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.rentals.items.attributes.order_number.type": "S",
"root.attributes.children.attributes.rentals.items.attributes.order_number.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.order_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.rentals.items.attributes.cashier_name.type": "S",
"root.attributes.children.attributes.rentals.items.attributes.cashier_name.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.cashier_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
"root.attributes.children.attributes.rentals.items.attributes.terminal_name.type": "S",
"root.attributes.children.attributes.rentals.items.attributes.terminal_name.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.terminal_name.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.rentals.items.attributes.customer_id.type": "S",
"root.attributes.children.attributes.rentals.items.attributes.customer_id.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.customer_id.format": "uuidv4",
"root.attributes.children.attributes.rentals.items.attributes.customer_id.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.children.attributes.rentals.items.attributes.customer_code.type": "S",
"root.attributes.children.attributes.rentals.items.attributes.customer_code.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.customer_code.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.rentals.items.attributes.customer_name.type": "S",
"root.attributes.children.attributes.rentals.items.attributes.customer_name.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.customer_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
"root.attributes.children.attributes.rentals.items.attributes.customer_mobile_number.type": "S",
"root.attributes.children.attributes.rentals.items.attributes.customer_mobile_number.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.customer_mobile_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.rentals.items.attributes.customer_address.type": "S",
"root.attributes.children.attributes.rentals.items.attributes.customer_address.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.customer_address.regex": "^.{1,300}$",
"root.attributes.children.attributes.rentals.items.attributes.customer_government_id_type.type": "S",
"root.attributes.children.attributes.rentals.items.attributes.customer_government_id_type.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.customer_government_id_type.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.rentals.items.attributes.customer_government_id_number.type": "S",
"root.attributes.children.attributes.rentals.items.attributes.customer_government_id_number.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.customer_government_id_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.rentals.items.attributes.deposit.type": "N",
"root.attributes.children.attributes.rentals.items.attributes.deposit.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.deposit.regex": "^-?\\d+(\\.\\d+)?$",
"root.attributes.children.attributes.rentals.items.attributes.gross_total.type": "N",
"root.attributes.children.attributes.rentals.items.attributes.gross_total.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.gross_total.regex": "^-?\\d+(\\.\\d+)?$",
"root.attributes.children.attributes.rentals.items.attributes.total_due.type": "N",
"root.attributes.children.attributes.rentals.items.attributes.total_due.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.total_due.regex": "^-?\\d+(\\.\\d+)?$",
"root.attributes.children.attributes.rentals.items.attributes.expected_return_at.type": "S",
"root.attributes.children.attributes.rentals.items.attributes.expected_return_at.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.expected_return_at.format": "iso8601",
"root.attributes.children.attributes.rentals.items.attributes.expected_return_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.children.attributes.rentals.items.attributes.rental_status.type": "S",
"root.attributes.children.attributes.rentals.items.attributes.rental_status.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.rental_status.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.rentals.items.attributes.print_status.type": "S",
"root.attributes.children.attributes.rentals.items.attributes.print_status.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.print_status.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.rentals.items.attributes.printed_at.type": "S",
"root.attributes.children.attributes.rentals.items.attributes.printed_at.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.printed_at.format": "iso8601",
"root.attributes.children.attributes.rentals.items.attributes.printed_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.children.attributes.rentals.items.attributes.printer_device_id.type": "S",
"root.attributes.children.attributes.rentals.items.attributes.printer_device_id.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.printer_device_id.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.rentals.items.attributes.printer_device_name.type": "S",
"root.attributes.children.attributes.rentals.items.attributes.printer_device_name.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.printer_device_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
"root.attributes.children.attributes.rentals.items.attributes.sync_status.type": "S",
"root.attributes.children.attributes.rentals.items.attributes.sync_status.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.sync_status.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.rentals.items.attributes.sync_attempt_count.type": "N",
"root.attributes.children.attributes.rentals.items.attributes.sync_attempt_count.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.sync_attempt_count.regex": "^\\d+$",
"root.attributes.children.attributes.rentals.items.attributes.created_at.type": "S",
"root.attributes.children.attributes.rentals.items.attributes.created_at.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.created_at.format": "iso8601",
"root.attributes.children.attributes.rentals.items.attributes.created_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.children.attributes.rentals.items.attributes.updated_at.type": "S",
"root.attributes.children.attributes.rentals.items.attributes.updated_at.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.updated_at.format": "iso8601",
"root.attributes.children.attributes.rentals.items.attributes.updated_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.children.attributes.rentals.items.attributes.is_active.type": "BOOL",
"root.attributes.children.attributes.rentals.items.attributes.is_active.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.is_active.regex": "^(true|false)$",
"root.attributes.children.attributes.rentals.items.attributes.is_deleted.type": "BOOL",
"root.attributes.children.attributes.rentals.items.attributes.is_deleted.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.is_deleted.regex": "^(true|false)$",
"root.attributes.children.attributes.rentals.items.attributes.deleted_at.type": "S",
"root.attributes.children.attributes.rentals.items.attributes.deleted_at.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.deleted_at.format": "iso8601",
"root.attributes.children.attributes.rentals.items.attributes.deleted_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.children.attributes.rentals.items.attributes.idempotency_key.type": "S",
"root.attributes.children.attributes.rentals.items.attributes.idempotency_key.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.idempotency_key.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.rentals.items.attributes.schema_version.type": "N",
"root.attributes.children.attributes.rentals.items.attributes.schema_version.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.schema_version.regex": "^\\d+$",
"root.attributes.children.attributes.rentals.items.attributes.version.type": "N",
"root.attributes.children.attributes.rentals.items.attributes.version.required": "False",
"root.attributes.children.attributes.rentals.items.attributes.version.regex": "^\\d+$",
"root.attributes.children.attributes.toolboxes.type": "L",
"root.attributes.children.attributes.toolboxes.required": "False",
"root.attributes.children.attributes.toolboxes.items.type": "M",
"root.attributes.children.attributes.toolboxes.items.attributes.toolbox_id.type": "S",
"root.attributes.children.attributes.toolboxes.items.attributes.toolbox_id.required": "True",
"root.attributes.children.attributes.toolboxes.items.attributes.toolbox_id.format": "uuidv4",
"root.attributes.children.attributes.toolboxes.items.attributes.toolbox_id.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.children.attributes.toolboxes.items.attributes.store_id.type": "S",
"root.attributes.children.attributes.toolboxes.items.attributes.store_id.required": "False",
"root.attributes.children.attributes.toolboxes.items.attributes.store_id.format": "uuidv4",
"root.attributes.children.attributes.toolboxes.items.attributes.store_id.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.children.attributes.toolboxes.items.attributes.entity_number.type": "S",
"root.attributes.children.attributes.toolboxes.items.attributes.entity_number.required": "False",
"root.attributes.children.attributes.toolboxes.items.attributes.entity_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.toolboxes.items.attributes.toolbox_number.type": "S",
"root.attributes.children.attributes.toolboxes.items.attributes.toolbox_number.required": "False",
"root.attributes.children.attributes.toolboxes.items.attributes.toolbox_number.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.toolboxes.items.attributes.toolbox_code.type": "S",
"root.attributes.children.attributes.toolboxes.items.attributes.toolbox_code.required": "False",
"root.attributes.children.attributes.toolboxes.items.attributes.toolbox_code.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.toolboxes.items.attributes.toolbox_name.type": "S",
"root.attributes.children.attributes.toolboxes.items.attributes.toolbox_name.required": "False",
"root.attributes.children.attributes.toolboxes.items.attributes.toolbox_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
"root.attributes.children.attributes.toolboxes.items.attributes.equipment_name.type": "S",
"root.attributes.children.attributes.toolboxes.items.attributes.equipment_name.required": "False",
"root.attributes.children.attributes.toolboxes.items.attributes.equipment_name.regex": "^[A-Za-z0-9 .,'_-]{1,120}$",
"root.attributes.children.attributes.toolboxes.items.attributes.category.type": "S",
"root.attributes.children.attributes.toolboxes.items.attributes.category.required": "False",
"root.attributes.children.attributes.toolboxes.items.attributes.category.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.toolboxes.items.attributes.daily_rate.type": "N",
"root.attributes.children.attributes.toolboxes.items.attributes.daily_rate.required": "False",
"root.attributes.children.attributes.toolboxes.items.attributes.daily_rate.regex": "^-?\\d+(\\.\\d+)?$",
"root.attributes.children.attributes.toolboxes.items.attributes.status.type": "S",
"root.attributes.children.attributes.toolboxes.items.attributes.status.required": "False",
"root.attributes.children.attributes.toolboxes.items.attributes.status.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.toolboxes.items.attributes.created_at.type": "S",
"root.attributes.children.attributes.toolboxes.items.attributes.created_at.required": "False",
"root.attributes.children.attributes.toolboxes.items.attributes.created_at.format": "iso8601",
"root.attributes.children.attributes.toolboxes.items.attributes.created_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.children.attributes.toolboxes.items.attributes.updated_at.type": "S",
"root.attributes.children.attributes.toolboxes.items.attributes.updated_at.required": "False",
"root.attributes.children.attributes.toolboxes.items.attributes.updated_at.format": "iso8601",
"root.attributes.children.attributes.toolboxes.items.attributes.updated_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.children.attributes.toolboxes.items.attributes.is_active.type": "BOOL",
"root.attributes.children.attributes.toolboxes.items.attributes.is_active.required": "False",
"root.attributes.children.attributes.toolboxes.items.attributes.is_active.regex": "^(true|false)$",
"root.attributes.children.attributes.toolboxes.items.attributes.is_deleted.type": "BOOL",
"root.attributes.children.attributes.toolboxes.items.attributes.is_deleted.required": "False",
"root.attributes.children.attributes.toolboxes.items.attributes.is_deleted.regex": "^(true|false)$",
"root.attributes.children.attributes.toolboxes.items.attributes.deleted_at.type": "S",
"root.attributes.children.attributes.toolboxes.items.attributes.deleted_at.required": "False",
"root.attributes.children.attributes.toolboxes.items.attributes.deleted_at.format": "iso8601",
"root.attributes.children.attributes.toolboxes.items.attributes.deleted_at.regex": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,6})?Z?$",
"root.attributes.children.attributes.toolboxes.items.attributes.idempotency_key.type": "S",
"root.attributes.children.attributes.toolboxes.items.attributes.idempotency_key.required": "False",
"root.attributes.children.attributes.toolboxes.items.attributes.idempotency_key.regex": "^[A-Za-z0-9_-]{1,64}$",
"root.attributes.children.attributes.toolboxes.items.attributes.schema_version.type": "N",
"root.attributes.children.attributes.toolboxes.items.attributes.schema_version.required": "False",
"root.attributes.children.attributes.toolboxes.items.attributes.schema_version.regex": "^\\d+$",
"root.attributes.children.attributes.toolboxes.items.attributes.version.type": "N",
"root.attributes.children.attributes.toolboxes.items.attributes.version.required": "False",
"root.attributes.children.attributes.toolboxes.items.attributes.version.regex": "^\\d+$"
}
Response Schema¶
{
"root.type": "M",
"root.required": "True",
"root.attributes.is_accepted.type": "BOOL",
"root.attributes.is_accepted.required": "True",
"root.attributes.message.type": "S",
"root.attributes.message.required": "True",
"root.attributes.request_id.type": "S",
"root.attributes.request_id.required": "False"
}
Request Payload¶
{
"store_id": "f80b79c4-749b-4b6f-a851-d53715181f63",
"entity_number": "1",
"store_code": "1",
"store_name": "1",
"branch_name": "1",
"receipt_name": "1",
"address": "1",
"contact_number": "1",
"tin_number": "1",
"permit_to_use_number": "1",
"receipt_footer_message": "1",
"receipt_paper_width": "1",
"receipt_characters_per_line": "1",
"created_at": "2026-05-14T22:43:20Z",
"updated_at": "2026-05-14T22:43:20Z",
"is_active": "True",
"is_deleted": "True",
"deleted_at": "2026-05-14T22:43:20Z",
"idempotency_key": "1",
"schema_version": "1",
"version": "1",
"children.customers[0].customer_id": "15abe94d-fa56-4642-8193-4351c8033a00",
"children.customers[0].store_id": "f80b79c4-749b-4b6f-a851-d53715181f63",
"children.customers[0].entity_number": "1",
"children.customers[0].customer_name": "1",
"children.customers[0].contact_number": "1",
"children.customers[0].email": "[email protected]",
"children.customers[0].address": "1",
"children.customers[0].government_id_type": "1",
"children.customers[0].government_id_number": "1",
"children.customers[0].created_at": "2026-05-14T22:43:20Z",
"children.customers[0].updated_at": "2026-05-14T22:43:20Z",
"children.customers[0].is_active": "True",
"children.customers[0].is_deleted": "True",
"children.customers[0].deleted_at": "2026-05-14T22:43:20Z",
"children.customers[0].idempotency_key": "1",
"children.customers[0].schema_version": "1",
"children.customers[0].version": "1",
"children.rentals[0].rental_id": "7543eb36-edad-46bd-84ae-0268f57a07fb",
"children.rentals[0].store_id": "f80b79c4-749b-4b6f-a851-d53715181f63",
"children.rentals[0].entity_number": "1",
"children.rentals[0].order_number": "1",
"children.rentals[0].cashier_name": "1",
"children.rentals[0].terminal_name": "1",
"children.rentals[0].customer_id": "15abe94d-fa56-4642-8193-4351c8033a00",
"children.rentals[0].customer_code": "1",
"children.rentals[0].customer_name": "1",
"children.rentals[0].customer_mobile_number": "1",
"children.rentals[0].customer_address": "1",
"children.rentals[0].customer_government_id_type": "1",
"children.rentals[0].customer_government_id_number": "1",
"children.rentals[0].deposit": "1",
"children.rentals[0].gross_total": "1",
"children.rentals[0].total_due": "1",
"children.rentals[0].expected_return_at": "2026-05-14T22:43:20Z",
"children.rentals[0].rental_status": "1",
"children.rentals[0].print_status": "1",
"children.rentals[0].printed_at": "2026-05-14T22:43:20Z",
"children.rentals[0].printer_device_id": "1",
"children.rentals[0].printer_device_name": "1",
"children.rentals[0].sync_status": "1",
"children.rentals[0].sync_attempt_count": "1",
"children.rentals[0].created_at": "2026-05-14T22:43:20Z",
"children.rentals[0].updated_at": "2026-05-14T22:43:20Z",
"children.rentals[0].is_active": "True",
"children.rentals[0].is_deleted": "True",
"children.rentals[0].deleted_at": "2026-05-14T22:43:20Z",
"children.rentals[0].idempotency_key": "1",
"children.rentals[0].schema_version": "1",
"children.rentals[0].version": "1",
"children.toolboxes[0].toolbox_id": "ccb00721-6479-4c14-be47-c021b95aa31a",
"children.toolboxes[0].store_id": "f80b79c4-749b-4b6f-a851-d53715181f63",
"children.toolboxes[0].entity_number": "1",
"children.toolboxes[0].toolbox_number": "1",
"children.toolboxes[0].toolbox_code": "1",
"children.toolboxes[0].toolbox_name": "1",
"children.toolboxes[0].equipment_name": "1",
"children.toolboxes[0].category": "1",
"children.toolboxes[0].daily_rate": "1",
"children.toolboxes[0].status": "1",
"children.toolboxes[0].created_at": "2026-05-14T22:43:20Z",
"children.toolboxes[0].updated_at": "2026-05-14T22:43:20Z",
"children.toolboxes[0].is_active": "True",
"children.toolboxes[0].is_deleted": "True",
"children.toolboxes[0].deleted_at": "2026-05-14T22:43:20Z",
"children.toolboxes[0].idempotency_key": "1",
"children.toolboxes[0].schema_version": "1",
"children.toolboxes[0].version": "1"
}
Response¶
{
"root.type": "M",
"root.required": "True",
"root.attributes.is_accepted.type": "BOOL",
"root.attributes.is_accepted.required": "True",
"root.attributes.message.type": "S",
"root.attributes.message.required": "True",
"root.attributes.request_id.type": "S",
"root.attributes.request_id.required": "False"
}
CMD curl¶
curl -X PATCH "https://5g667fp458.execute-api.ap-southeast-1.amazonaws.com/prod/hardware-stores-patch-one" -H "Content-Type: application/json" --data-raw "{\"store_id\": \"f80b79c4-749b-4b6f-a851-d53715181f63\", \"entity_number\": \"1\", \"store_code\": \"1\", \"store_name\": \"1\", \"branch_name\": \"1\", \"receipt_name\": \"1\", \"address\": \"1\", \"contact_number\": \"1\", \"tin_number\": \"1\", \"permit_to_use_number\": \"1\", \"receipt_footer_message\": \"1\", \"receipt_paper_width\": \"1\", \"receipt_characters_per_line\": 1, \"created_at\": \"2026-05-14T22:43:20Z\", \"updated_at\": \"2026-05-14T22:43:20Z\", \"is_active\": true, \"is_deleted\": true, \"deleted_at\": \"2026-05-14T22:43:20Z\", \"idempotency_key\": \"1\", \"schema_version\": 1, \"version\": 1, \"children\": {\"customers\": [{\"customer_id\": \"15abe94d-fa56-4642-8193-4351c8033a00\", \"store_id\": \"f80b79c4-749b-4b6f-a851-d53715181f63\", \"entity_number\": \"1\", \"customer_name\": \"1\", \"contact_number\": \"1\", \"email\": \"[email protected]\", \"address\": \"1\", \"government_id_type\": \"1\", \"government_id_number\": \"1\", \"created_at\": \"2026-05-14T22:43:20Z\", \"updated_at\": \"2026-05-14T22:43:20Z\", \"is_active\": true, \"is_deleted\": true, \"deleted_at\": \"2026-05-14T22:43:20Z\", \"idempotency_key\": \"1\", \"schema_version\": 1, \"version\": 1}], \"rentals\": [{\"rental_id\": \"7543eb36-edad-46bd-84ae-0268f57a07fb\", \"store_id\": \"f80b79c4-749b-4b6f-a851-d53715181f63\", \"entity_number\": \"1\", \"order_number\": \"1\", \"cashier_name\": \"1\", \"terminal_name\": \"1\", \"customer_id\": \"15abe94d-fa56-4642-8193-4351c8033a00\", \"customer_code\": \"1\", \"customer_name\": \"1\", \"customer_mobile_number\": \"1\", \"customer_address\": \"1\", \"customer_government_id_type\": \"1\", \"customer_government_id_number\": \"1\", \"deposit\": 1, \"gross_total\": 1, \"total_due\": 1, \"expected_return_at\": \"2026-05-14T22:43:20Z\", \"rental_status\": \"1\", \"print_status\": \"1\", \"printed_at\": \"2026-05-14T22:43:20Z\", \"printer_device_id\": \"1\", \"printer_device_name\": \"1\", \"sync_status\": \"1\", \"sync_attempt_count\": 1, \"created_at\": \"2026-05-14T22:43:20Z\", \"updated_at\": \"2026-05-14T22:43:20Z\", \"is_active\": true, \"is_deleted\": true, \"deleted_at\": \"2026-05-14T22:43:20Z\", \"idempotency_key\": \"1\", \"schema_version\": 1, \"version\": 1}], \"toolboxes\": [{\"toolbox_id\": \"ccb00721-6479-4c14-be47-c021b95aa31a\", \"store_id\": \"f80b79c4-749b-4b6f-a851-d53715181f63\", \"entity_number\": \"1\", \"toolbox_number\": \"1\", \"toolbox_code\": \"1\", \"toolbox_name\": \"1\", \"equipment_name\": \"1\", \"category\": \"1\", \"daily_rate\": 1, \"status\": \"1\", \"created_at\": \"2026-05-14T22:43:20Z\", \"updated_at\": \"2026-05-14T22:43:20Z\", \"is_active\": true, \"is_deleted\": true, \"deleted_at\": \"2026-05-14T22:43:20Z\", \"idempotency_key\": \"1\", \"schema_version\": 1, \"version\": 1}]}}"
PowerShell curl¶
curl.exe -X PATCH "https://5g667fp458.execute-api.ap-southeast-1.amazonaws.com/prod/hardware-stores-patch-one" -H "Content-Type: application/json" --data-raw '{"store_id": "f80b79c4-749b-4b6f-a851-d53715181f63", "entity_number": "1", "store_code": "1", "store_name": "1", "branch_name": "1", "receipt_name": "1", "address": "1", "contact_number": "1", "tin_number": "1", "permit_to_use_number": "1", "receipt_footer_message": "1", "receipt_paper_width": "1", "receipt_characters_per_line": 1, "created_at": "2026-05-14T22:43:20Z", "updated_at": "2026-05-14T22:43:20Z", "is_active": true, "is_deleted": true, "deleted_at": "2026-05-14T22:43:20Z", "idempotency_key": "1", "schema_version": 1, "version": 1, "children": {"customers": [{"customer_id": "15abe94d-fa56-4642-8193-4351c8033a00", "store_id": "f80b79c4-749b-4b6f-a851-d53715181f63", "entity_number": "1", "customer_name": "1", "contact_number": "1", "email": "[email protected]", "address": "1", "government_id_type": "1", "government_id_number": "1", "created_at": "2026-05-14T22:43:20Z", "updated_at": "2026-05-14T22:43:20Z", "is_active": true, "is_deleted": true, "deleted_at": "2026-05-14T22:43:20Z", "idempotency_key": "1", "schema_version": 1, "version": 1}], "rentals": [{"rental_id": "7543eb36-edad-46bd-84ae-0268f57a07fb", "store_id": "f80b79c4-749b-4b6f-a851-d53715181f63", "entity_number": "1", "order_number": "1", "cashier_name": "1", "terminal_name": "1", "customer_id": "15abe94d-fa56-4642-8193-4351c8033a00", "customer_code": "1", "customer_name": "1", "customer_mobile_number": "1", "customer_address": "1", "customer_government_id_type": "1", "customer_government_id_number": "1", "deposit": 1, "gross_total": 1, "total_due": 1, "expected_return_at": "2026-05-14T22:43:20Z", "rental_status": "1", "print_status": "1", "printed_at": "2026-05-14T22:43:20Z", "printer_device_id": "1", "printer_device_name": "1", "sync_status": "1", "sync_attempt_count": 1, "created_at": "2026-05-14T22:43:20Z", "updated_at": "2026-05-14T22:43:20Z", "is_active": true, "is_deleted": true, "deleted_at": "2026-05-14T22:43:20Z", "idempotency_key": "1", "schema_version": 1, "version": 1}], "toolboxes": [{"toolbox_id": "ccb00721-6479-4c14-be47-c021b95aa31a", "store_id": "f80b79c4-749b-4b6f-a851-d53715181f63", "entity_number": "1", "toolbox_number": "1", "toolbox_code": "1", "toolbox_name": "1", "equipment_name": "1", "category": "1", "daily_rate": 1, "status": "1", "created_at": "2026-05-14T22:43:20Z", "updated_at": "2026-05-14T22:43:20Z", "is_active": true, "is_deleted": true, "deleted_at": "2026-05-14T22:43:20Z", "idempotency_key": "1", "schema_version": 1, "version": 1}]}}'