Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "action": "rejectPoVendor",
- "context": {
- "callbackWaitsForEmptyEventLoop": true,
- "logGroupName": "/aws/lambda/bizzy-pubsub-kinesis",
- "logStreamName": "2018/10/19/[41]428813da3ab94325805c37dff4f14d7c",
- "functionName": "bizzy-pubsub-kinesis",
- "memoryLimitInMB": "512",
- "functionVersion": "41",
- "invokeid": "d85dfeb8-2fe8-43cc-bb55-f29f411fa3c1",
- "awsRequestId": "d85dfeb8-2fe8-43cc-bb55-f29f411fa3c1",
- "invokedFunctionArn": "arn:aws:lambda:ap-southeast-1:159880201964:function:bizzy-pubsub-kinesis:TEST",
- "source": "api_gateway",
- "request_id": "e3400afc-9431-42ae-b938-697af03c35a8"
- },
- "data": {
- "data": {
- "purchase_order_no": "PO-1539951119671",
- "purchase_order_status": 90,
- "purchase_order_skus": [
- {
- "status": 0,
- "notes": "stok habis",
- "sku_id": "934"
- },
- {
- "status": 0,
- "notes": "produk tidak diproduksi lagi",
- "sku_id": "9955"
- },
- {
- "status": 0,
- "notes": "terdapat perubahan harga",
- "sku_id": "9319"
- }
- ],
- "sales_order_no": "PO-1539951119671",
- "sales_order_status": 900,
- "erpPayload": [
- {
- "sales_order": {
- "order_number": "PO-1539951119671",
- "purchase_request_number": "PR-1539951118789",
- "customer_id": 3238,
- "channel": "MARKETPLACE",
- "status": "PR_REJECTED",
- "payment_type": "TOP",
- "term_of_payment": 14,
- "shipping_address_id": 3613,
- "billing_address_id": 3614,
- "created_at": "2018-10-19T11:16:15.000Z",
- "updated_at": "2018-10-19T12:12:06.000Z",
- "memo": null,
- "items": [
- {
- "sku_id": 934,
- "sku_no": "EFBAA81EA4",
- "quantity": "5.00",
- "pair_id": "940a3ac4-722c-431d-b1a5-3e3b8f19c4d0",
- "status": "ITEM_REJECTED",
- "pricing": {
- "rate": 3900000
- },
- "tax_amount": 0
- },
- {
- "sku_id": 9955,
- "sku_no": "60AD9D930F",
- "quantity": "1.00",
- "pair_id": "183fe055-c9b8-4509-94f1-863ddac398e0",
- "status": "ITEM_REJECTED",
- "pricing": {
- "rate": 97000000
- },
- "tax_amount": 0
- },
- {
- "sku_id": 9319,
- "sku_no": "601D1C15F2",
- "quantity": "6.00",
- "pair_id": "584b128e-8f9a-43eb-b851-8fb78de8d87c",
- "status": "ITEM_REJECTED",
- "pricing": {
- "rate": 1257000000
- },
- "tax_amount": 0
- }
- ],
- "location": 1
- },
- "purchase_orders": [
- {
- "order_number": "PO-1539951119671",
- "customer_order_number": "PO-1539951119671",
- "vendor_id": 61,
- "channel": "MARKETPLACE",
- "status": "PO_REJECTED",
- "payment_type": "TOP",
- "term_of_payment": 0,
- "created_at": "2018-10-19T12:12:00.000Z",
- "updated_at": "2018-10-19T12:12:06.000Z",
- "memo": null,
- "items": [
- {
- "sku_id": 934,
- "sku_no": "EFBAA81EA4",
- "pair_id": "940a3ac4-722c-431d-b1a5-3e3b8f19c4d0",
- "quantity": 5,
- "status": "ITEM_REJECTED",
- "pricing": {
- "rate": 3900000
- },
- "tax_amount": 0
- },
- {
- "sku_id": 9955,
- "sku_no": "60AD9D930F",
- "pair_id": "183fe055-c9b8-4509-94f1-863ddac398e0",
- "quantity": 1,
- "status": "ITEM_REJECTED",
- "pricing": {
- "rate": 97000000
- },
- "tax_amount": 0
- },
- {
- "sku_id": 9319,
- "sku_no": "601D1C15F2",
- "pair_id": "584b128e-8f9a-43eb-b851-8fb78de8d87c",
- "quantity": 6,
- "status": "ITEM_REJECTED",
- "pricing": {
- "rate": 1257000000
- },
- "tax_amount": 0
- }
- ],
- "location": 1
- }
- ]
- }
- ]
- },
- "context": {},
- "published_at": "2018-10-19T12:12:07Z"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement