store-stores-patch-one

Source

  • Repository: jef-systems/jef-store-backend

  • Source Run ID: 25334823297

  • Source SHA: 69cb846339fa14db005aec45414a4a94ec2a821e

  • Module: store

  • Documentation Scope: async

  • Lambda: jef-store-patch-56

Endpoint

  • API Name: jef-store

  • Action Name: patch

  • Method: PATCH

  • Scope Label: Async

  • Resource Path: /store-stores-patch-one

  • Complete Endpoint: https://rw53l0a90m.execute-api.ap-southeast-1.amazonaws.com/prod/store-stores-patch-one

  • Lambda ARN: arn:aws:lambda:ap-southeast-1:246715082475:function:jef-store-patch-56

  • curl payload mode: json_body

API Gateway Description

Function: jef-store-patch-56
Module: jef-store
Action: patch
Method: PATCH
Invocation Mode: ASYNC
Resource Path: /store-stores-patch-one

API Gateway Response:
- status_code: 202
- message: Request accepted for asynchronous processing.

Table:
- table: jef-store-stores

Payload Example:
- pk: 1001
- entity_number: 1001
- branch_name: Bacolod Main Barista Grocery
- store_name: Bacolod Main Barista Grocery
- store_legal_name: OKFB Group Corporation
- store_tagline: Pandan Coconut Sea Salt Latte store tagline 1001-0001
- address_line_1: Bacolod City, Negros Occidental
- address_line_2: Bacolod City, Negros Occidental
- city: Pandan Coconut Sea Salt Latte city 1001-0001
- province: Pandan Coconut Sea Salt Latte province 1001-0001
- postal_code: POS-1001-0001
- country: Pandan Coconut Sea Salt Latte country 1001-0001
- contact_number: CON-1001-0001
- email: [email protected]
- website: Pandan Coconut Sea Salt Latte website 1001-0001
- tin: Pandan Coconut Sea Salt Latte tin 1001-0001
- is_active: true
- is_deleted: false
- deleted_at:
- created_at: 2026-05-04T09:07:00+08:00
- updated_at: 2026-05-04T09:07:00+08:00
- idempotency_key: 7e8e9522-ffb4-5836-9fac-0059a89ed3bb
- schema_version: 1001
- version: 1001

Payload Schema:
- pk: string-{entity_number}
- entity_number: string
- branch_name: string
- store_name: string
- store_legal_name: string
- store_tagline: string
- address_line_1: string
- address_line_2: string
- city: string
- province: string
- postal_code: string
- country: string
- contact_number: string
- email: string
- website: string
- tin: string
- is_active: boolean
- is_deleted: boolean
- deleted_at: string
- created_at: string
- updated_at: string
- idempotency_key: string
- schema_version: number
- version: number

Response Schema:
- is_accepted: boolean
- message: string

Request Payload

{
  "pk": "1001",
  "entity_number": "1001",
  "branch_name": "Bacolod Main Barista Grocery",
  "store_name": "Bacolod Main Barista Grocery",
  "store_legal_name": "OKFB Group Corporation",
  "store_tagline": "Pandan Coconut Sea Salt Latte store tagline 1001-0001",
  "address_line_1": "Bacolod City, Negros Occidental",
  "address_line_2": "Bacolod City, Negros Occidental",
  "city": "Pandan Coconut Sea Salt Latte city 1001-0001",
  "province": "Pandan Coconut Sea Salt Latte province 1001-0001",
  "postal_code": "POS-1001-0001",
  "country": "Pandan Coconut Sea Salt Latte country 1001-0001",
  "contact_number": "CON-1001-0001",
  "email": "[email protected]",
  "website": "Pandan Coconut Sea Salt Latte website 1001-0001",
  "tin": "Pandan Coconut Sea Salt Latte tin 1001-0001",
  "is_active": "true",
  "is_deleted": "false",
  "deleted_at": "",
  "created_at": "2026-05-04T09:07:00+08:00",
  "updated_at": "2026-05-04T09:07:00+08:00",
  "idempotency_key": "7e8e9522-ffb4-5836-9fac-0059a89ed3bb",
  "schema_version": "1001",
  "version": "1001"
}

Response

{
  "is_accepted": "boolean",
  "message": "string"
}

CMD curl

curl -X PATCH "https://rw53l0a90m.execute-api.ap-southeast-1.amazonaws.com/prod/store-stores-patch-one" -H "Content-Type: application/json" --data-raw "{\"pk\": \"1001\", \"entity_number\": \"1001\", \"branch_name\": \"Bacolod Main Barista Grocery\", \"store_name\": \"Bacolod Main Barista Grocery\", \"store_legal_name\": \"OKFB Group Corporation\", \"store_tagline\": \"Pandan Coconut Sea Salt Latte store tagline 1001-0001\", \"address_line_1\": \"Bacolod City, Negros Occidental\", \"address_line_2\": \"Bacolod City, Negros Occidental\", \"city\": \"Pandan Coconut Sea Salt Latte city 1001-0001\", \"province\": \"Pandan Coconut Sea Salt Latte province 1001-0001\", \"postal_code\": \"POS-1001-0001\", \"country\": \"Pandan Coconut Sea Salt Latte country 1001-0001\", \"contact_number\": \"CON-1001-0001\", \"email\": \"[email protected]\", \"website\": \"Pandan Coconut Sea Salt Latte website 1001-0001\", \"tin\": \"Pandan Coconut Sea Salt Latte tin 1001-0001\", \"is_active\": \"true\", \"is_deleted\": \"false\", \"deleted_at\": \"\", \"created_at\": \"2026-05-04T09:07:00+08:00\", \"updated_at\": \"2026-05-04T09:07:00+08:00\", \"idempotency_key\": \"7e8e9522-ffb4-5836-9fac-0059a89ed3bb\", \"schema_version\": 1001, \"version\": 1001}"

PowerShell curl

curl.exe -X PATCH "https://rw53l0a90m.execute-api.ap-southeast-1.amazonaws.com/prod/store-stores-patch-one" -H "Content-Type: application/json" --data-raw '{"pk": "1001", "entity_number": "1001", "branch_name": "Bacolod Main Barista Grocery", "store_name": "Bacolod Main Barista Grocery", "store_legal_name": "OKFB Group Corporation", "store_tagline": "Pandan Coconut Sea Salt Latte store tagline 1001-0001", "address_line_1": "Bacolod City, Negros Occidental", "address_line_2": "Bacolod City, Negros Occidental", "city": "Pandan Coconut Sea Salt Latte city 1001-0001", "province": "Pandan Coconut Sea Salt Latte province 1001-0001", "postal_code": "POS-1001-0001", "country": "Pandan Coconut Sea Salt Latte country 1001-0001", "contact_number": "CON-1001-0001", "email": "[email protected]", "website": "Pandan Coconut Sea Salt Latte website 1001-0001", "tin": "Pandan Coconut Sea Salt Latte tin 1001-0001", "is_active": "true", "is_deleted": "false", "deleted_at": "", "created_at": "2026-05-04T09:07:00+08:00", "updated_at": "2026-05-04T09:07:00+08:00", "idempotency_key": "7e8e9522-ffb4-5836-9fac-0059a89ed3bb", "schema_version": 1001, "version": 1001}'